Go 語言新版的迭代器是怎麼個事
很多流行的編程語言中都以某種方式提供迭代器,其中包括 C++、Java、Javascript、Python 和 Rust。Go 語言現在也加入了迭代器。iter 包是 Go 1.23 新增的標準庫,提供了迭代器的基本定義和相關操作。爲什麼需要迭代器——–在 Go 1.18 引入泛型之後,便可以很方便的定義一些泛型容器類型來提升編碼效率。例如我們可以基於 map 類型定義了一個集合類型—— ⌘ Read more
Jeg skal vælge et rust web server bibliotek, og det lader til at de alle sammen er helt ens…
Er der ikke lige nogen der vil fortælle mig hvorfor actix-web er helt vildt meget bedre end axum (eller omvendt)? ⌘ Read more
Announcing zxc: A Terminal based Intercepting Proxy ( burpsuite alternative ) written in rust with Tmux and Vim as user interface. ⌘ Read more
Announcing zxc - a terminal based intercepting proxy written in rust with tmux and vim as user interface. ⌘ Read more
Memory safety for web fonts in Chrome: Google replaces FreeType with Rust-based alternative
There’s no escaping Rust, and the language is leaving its mark everywhere. This time around, Chrome has replaced its use of FreeType with Skrifa, a Rust-based replacement. Skrifa is written in Rust, and created as a replacement for FreeType to make font processing in Chrome secure for all our users. Skifra takes advantage of Rust’s memory safety, and … ⌘ Read more
PEP 776: Emscripten Support
Emscripten is a complete open source compiler toolchain. It compiles C/C++ code into WebAssembly/JavaScript executables, for use in JavaScript runtimes, including browsers and Node.js. The Rust language also maintains an Emscripten target. ⌘ Read more
Goodbye GNU/Linux, Hello Rust/Linux
Ubuntu plans to ditch the battle-tested GNU Coreutils (chmod, Is, kill, & others), in favor of an unfinished Rust-based re-write, in the next few months. ⌘ Read more
Cuprate ‘ready for casual usage’ after ~12 months of paid development
hinto-janai1 has announced2 the first alpha release (v0.0.1 Molybdenite 3) of Cuprate4 - an alternative and independent Rust Monero node implementation - after more than 12 months of continuous CCS-funded development:
Contributors overviewThe first alpha release is now ready for casual usage.
@Asurar0
@Boog900
@dimalinux
@hinto-janai
@jomuel
@kayabaNerve ... ⌘ [Read more](https://monero.observer/cuprate-v0.0.1-molybdenite-released-after-12-months-paid-development/)
Ubuntu to replace classic coreutils and more with new Rust-based alternatives
After so much terrible tech politics news, let’s focus on some nice, easy-going Linux news that’s not going to be controversial at all: Ubuntu intends to replace numerous core Linux utilities with newer Rust replacements, starting with the ubiquitous GNU Coreutils. This package provides utilities which have become synonymous with Linux to many – the likes of ls, cp, and mv. In … ⌘ Read more
gogen:一鍵生成 Go 項目,開發者的效率利器
在 Go 開發中,手動搭建項目結構是不是讓你覺得效率低下?有沒有想過一個工具能一鍵搞定模板生成,像 Rust 的 cargo generate 那樣簡單?我開發的 gogen 就是爲此而生——輕量、靈活,專爲 Go 開發者打造。幾秒鐘內,你就能擁有一個定製化的項目骨架。接下來,讓我帶你看看它有多實用!gogen 是一個 Go 項目生成工具,靈感源自 Rust 的 cargo generate,旨在 ⌘ Read more
Mathieu Pasquet: slixmpp v1.9.1
This is mostly a bugfix release over version 1.9.0.
The main fix is the rust JID implementation that would behave incorrectly when
hashed if the JID contained non-ascii characters. This is an important issue as
using a non-ascii JID was mostly broken, and interacting with one failed in
interesting ways.
- The previously mentioned JID hash issue
- Various edge cases in the roster code
- One edge case in the MUC ( [XEP-0045](https: … ⌘ Read more
N1co1asB1ancon1 submits CCS proposal to develop and release ‘Monero Contract System’ v1
N1co1asB1ancon11 has submitted their first CCS proposal2 to finish developing the first version of Monero Contract System 3, a Rust web application which allows users to host their own arbitration/escrow platform:
People can create contracts like, “You will build me a website like X and Y in 1 month” or the what i think will be the most common “You will sell me 10 xmr for … ⌘ Read more
Redox continues adding dynamic linking support
These months are coming and going way too fast, for a whole variety of reasons, so we’ve got another month of improvements for Redox, the operating system written in Rust. I February, January’s work on dynamic linking continued, adding support for it to the recipes for Cargo, LLVM, Rust, libssh2, OpenSSL, zlib, COSMIC Terminal, NetSurf, libpng, bzip2, DevilutionX, and LuaJIT, as well as to the project’s Rust and OpenSSL forks. Relibc also … ⌘ Read more
Mathieu Pasquet: slixmpp v1.9.0
It has not been too long since 1.8.6 and here we are with 1.9.0, which is kind of a major release (following the well-known pridever numbering scheme).
Long story short, there are at least two major changes warranting the new number (and plenty of other things, read on!):
- switching the cython jid implementation for a rust one, which will be faster and more correct
- removing the xmpp.process() method (planned since the 1.8.0 release)
Special thanks to nicoco … ⌘ Read more
zlib-rs is faster than C
I’m sure we can all have a calm, rational discussion about this, so here it goes: zlib-rs, the Rust re-implementation of the zlib library, is now faster than its C counterparts in both decompression and compression. We’ve released version 0.4.2 of zlib-rs, featuring a number of substantial performance improvements. We are now (to our knowledge) the fastest api-compatible zlib implementation for decompression, and beat the competition in the most important compression cases too. ↫ F … ⌘ Read more
💻 Issue 456 - Rust from a Scala Perspective: Advent of Code 2024 ⌘ Read more
[ANN] Cuprate 2024 progress report
Cuprate is a Monero node implementation written in Rust that independently validates consensus rules and is interoperable with the Monero network. [..] Cuprate has been funded by Monero’s Community Crowdfunding System. There will be further proposals opened soon to continue development on the 2025 roadmap. If you are interested in this project continuing, consider leaving feedback.
Links:
The Most Important Tech News of January 2025 (That Only The Lunduke Journal Covered)
H1-B Visas, Non-Woke Operating Systems, Facebook ending DEl, Memory Leaking Rust, Godot Went Woke Went Broke, Debian Linux Doubles Down on Wokeness, & more. ⌘ Read more
Linux 6.14 with Rust: “We are almost at the ‘write a real driver in Rust’ stage now”
With the Linux 6.13 kernel, Greg Kroah-Hartman described the level of Rust support as a “tipping point” for Rust drivers with more of the Rust infrastructure having been merged. Now for the Linux 6.14 kernel, Greg describes the state of the Rust driver possibilities as “almost at the “write a real driver in rust” stage now, depending on what you want to do.“ ↫ Michael … ⌘ Read more
[ANN] Cuprate has achieved full verification sync in under 24 hours!
Cuprate, the upcoming Rust-written monero node has achieved full verification sync in 20 hours. An official development update is coming soon.
Links:
- https://farside.link/libreddit/r/Monero/comments/1ibq7rb/
- https://github.com/Cuprate/cuprate/issues/195
u/Swimming-Cake-2892 (Reddit) ⌘ Read more
j-berman posts CCS progress report after 169 hours of dev work
j-berman1 has published the first progress report2 for his full-time 2025 (part 9) Monero (FCMPs++) dev work CCS proposal3:
* Sped up tree building by ~30% implementing @kayabaNerve's torsion check
* Implemented FCMP++ prove and verify functions in the Rust FFI
* Rebased the WIP PR onto master and updated to include the latest [..]
Consult the previous Monero Observ … ⌘ Read more
It’s not ruined, trust the process! (Rust Bluing) ⌘ Read more
Massive Memory Leaks in System76’s Cosmic Desktop (Written in “Memory Safe” Rust)
Plus: Hyprland developer weighs in, “No, I don’t think it’s beta ready :P” ⌘ Read more
RustCoder: AI-assisted Rust learning
Member post originally published on Second State’s blog by CNCF Ambassadors Vivian Hu, Product Manager at Second State, and Miley Fu, DevRel at Second State Rust has been voted the most beloved programming language by StackOverflow… ⌘ Read more
Dragonfly v2.2.0 has been released
Dragonfly v2.2.0 is released! 🎉🎉🎉 Thanks the contributors who made this release happend and welcome you to visit d7y.io website. Features Client written in Rust The client is written in Rust, offering advantages such as ensuring… ⌘ Read more
ROG:高性能 Go 實現
本文根據字節跳動服務框架團隊研發工程師在 CloudWeGo 技術沙龍暨三週年慶典中演講內容《ROG——高性能 Go 實現》整理。 作者|不願意透露姓名的小劉市民ROG 之緣起ROG 的誕生是因爲我們一部分業務使用 Rust 重寫之後,獲得了非常好的收益,比如 AVG、CPU、MEM、P99,這些數據表現非常好,大約節省了接近 50% 的 CPU,內存大大降低。這個性能數據讓人眼紅,因此 ⌘ Read more
kayabaNerve’s monero-serai, monero-wallet audits CCS ready for funding
kayabaNerve1’s CCS proposal2 to get the monero-serai and monero-wallet Rust libraries3 audited by CypherStack4 is ready for funding:
Funding needed: 1050 XMR
To support this proposal, you can donate any XMR amount to the address listed on its Gitlab Funding Required 2 page.
Consult the previous Monero Observer report5 to learn more about t … ⌘ Read more
[LTH] Dev with Dart/flutter or rust experience
Monero knowledge a huge plus [..] Got some pretty neat things in the pipeline. Need more hands to get them out.
Link: https://libera.monerologs.net/monero-community/20241119#c461242
@diego:cypherstack.com (Matrix) ⌘ Read more
kayabaNerve submits CCS proposal to get monero-serai, monero-wallet libraries audited by CypherStack
kayabaNerve1 has submitted a CCS proposal2 looking to get the monero-serai 3 and monero-wallet 4 Rust libraries audited by CypherStack5:
Now that monero-serai and monero-wallet are ready for their 1.0 release [..] I have decided to request the community’s support for their audits. [..] This CCS is to fund … ⌘ Read more
Rust Compiler Not Stable Enough for Linux Kernel Development
According to Linus Torvalds: “Nothing depends on Rust in the kernel now, and nothing will for some time yet.” ⌘ Read more
Erlang Solutions: Erlang Concurrency: Evolving for Performance
Some languages are born performant, and later on tackle concurrency. Others are born concurrently and later build on performance. C or Rust system’s programming are examples of the former, Erlang’s Concurrency is an example of the latter.
A mistake in concurrency can essentially let all hell loose, incurring incredibly hard-to-track bugs and even security vulnerabilities, and a mistake in performance can leave a product tr … ⌘ Read more
橋接 Rust 和原生 Go
你好,大家好,我是 yuchanns!最近我做了一些有趣的事情,想和你分享:介紹 OpenDAL 作爲 Go 語言的原生綁定。 TLDR; 我將向你展示一種可行的方法,利用 purego 和 libffi 的魔力,從 Rust 和 C 組件構建原生 Go 綁定。什麼是 OpenDAL?————Apache OpenDAL[1] 是一個 Rust 庫,提供了統一的數據訪問層。它爲 ⌘ Read more
Mimalloc Cigarette: Losing one week of my life catching a memory leak
Memory allocators are great! I love allocating memory! Give me more, give me
more!
But memory allocators can be a great source of pain as well, and this is a
story of how I lost one week of my life catching a huge memory leak in a core
Rust application at work. ⌘ Read more
Python is 71x Slower, Uses 75x More Energy, Than C
Rust, Go, Swift, Dart, Ruby. All slower, & use more electricity, than plain old C. ⌘ Read more
Mig: jeg kommer aldrig til at forstå folk der tager i byen for at slås
Også mig: *logger på fedi* hey rust er lort 🥊 ⌘ Read more
@mckinley@twtxt.net I have a custom .tmux.conf that makes it very easy to use the multiplexer, but I agree, Zellij seems pretty robust, and intuitive. I like it! Tried compiling it, as with everything Rust, it failed miserably. Good thing there is a binary release I could download to try!
Learning to Fly series got updated to 2024!
The Learning to Fly series, a
beginner-friendly Rust tutorial combining evolution, neural network and
genetic algorithm, got an upgrade!
Since its inception in 2021, a few things have changed in the Rust and
WebAssembly ecosystem, and I’ve decided it’s high time to revisit the articles
🙂
Come check it out! ⌘ Read more
“Programmed in Rust” is not a feature
Also: Why does every Rust programmer pretend to be a carton cat? It’s weird. ⌘ Read more
The Great Tech Industry Survey of 2024
Are religious people more likely to use Tabs or Spaces? Are Rust programmers happier than C programmers? Do you know the answers to those questions? Do you *want to*? Help us find the answers. Take the survey: https://forms.gle/4rQboPtXcFkigZNQ8 More Information: ⌘ Read more
https://blog.guillaume-gomez.fr/Rust Un tuto #rust en français pour apprendre les bases
https://yazi-rs.github.io/ a ranger like file manager with batteries included #rust
Rust Embedded Working Group Announces Embedded-HAL v1.0
The Rust Embedded Working Group has announced a significant milestone with the release of embedded-hal version 1.0, marking a new chapter in the Rust embedded ecosystem. This release, alongside companion crates like embedded-hal-bus, embedded-hal-async, and embedded-hal-nb, represents a culmination of efforts since 2020 to stabilize and refine the embedded-hal traits. Embedded-HAL is a Rust-based framework […] ⌘ Read more
Trace Me a River (v2)
Trace Me a River (v2): Computing stuff on GPU using Rust ⌘ Read more
Trace Me a River
Trace Me a River: Computing stuff on GPU using Rust ⌘ Read more
wait, why (??) - part 2
wait, why (??) - part 2: Surprising corners of Rust ⌘ Read more