Rust becomes a first class citizen language in development for Linux kernel
https://lkml.org/lkml/2021/12/6/461
https://www.zdnet.com/article/rust-takes-a-major-step-forward-as-linuxs-second-official-language/
#Rust
https://lkml.org/lkml/2021/12/6/461
https://www.zdnet.com/article/rust-takes-a-major-step-forward-as-linuxs-second-official-language/
#Rust
ZDNET
Rust takes a major step forward as Linux's second official language
Linux is getting more Rust in it by the day.
One step to more wide application of Rust in aerospace sphere!
Obviously, there're a lot more things should be done to use Rust even more widely, espesially for embedded systems. For example, fault tolerance to run-time memory allocation exceptions in stdlib collections, dealing with infallible methods (panic on allocation failure in operations with collections), error handling, and process recovering, after alloc errors, not yet fully supported in Rust stdlib's collections API (see this issue: containers should provide some way to not panic on failed allocations · Issue #29802 · rust-lang/rust · GitHub)
But the Genie is already out of the bottle!
More things to come and that's will be huge!
https://github.com/CIUDSE
#Rust
Obviously, there're a lot more things should be done to use Rust even more widely, espesially for embedded systems. For example, fault tolerance to run-time memory allocation exceptions in stdlib collections, dealing with infallible methods (panic on allocation failure in operations with collections), error handling, and process recovering, after alloc errors, not yet fully supported in Rust stdlib's collections API (see this issue: containers should provide some way to not panic on failed allocations · Issue #29802 · rust-lang/rust · GitHub)
But the Genie is already out of the bottle!
More things to come and that's will be huge!
https://github.com/CIUDSE
#Rust
GitHub
containers should provide some way to not panic on failed allocations · Issue #29802 · rust-lang/rust
I was working on a Rust image library, which has code like: vec![0xff; self.num_channels * self.width as usize * self.height as usize] This code should really be checking for overflow on the multip...
Some absolutely great software - a tools, written in Rust, which can improve your daily workflow and can help get things done faster:
Terminal emulator:
https://github.com/alacritty/alacritty
File managers:
https://github.com/ranger/ranger
https://github.com/ranger/ranger/wiki/Similar-software#hunter-rust
https://github.com/rabite0/hunter
#Rust
Terminal emulator:
https://github.com/alacritty/alacritty
File managers:
https://github.com/ranger/ranger
https://github.com/ranger/ranger/wiki/Similar-software#hunter-rust
https://github.com/rabite0/hunter
#Rust
GitHub
GitHub - alacritty/alacritty: A cross-platform, OpenGL terminal emulator.
A cross-platform, OpenGL terminal emulator. Contribute to alacritty/alacritty development by creating an account on GitHub.
Firecracker reached the release version 1.0
https://github.com/firecracker-microvm/firecracker/releases/tag/v1.0.0
https://firecracker-microvm.io
https://github.com/firecracker-microvm/firecracker-containerd
Previous posts on this thread:
https://tttttt.me/technologique/1426
https://tttttt.me/technologique/1427
https://tttttt.me/technologique/1430
https://github.com/firecracker-microvm/firecracker/releases/tag/v1.0.0
https://firecracker-microvm.io
https://github.com/firecracker-microvm/firecracker-containerd
Previous posts on this thread:
https://tttttt.me/technologique/1426
https://tttttt.me/technologique/1427
https://tttttt.me/technologique/1430
GitHub
Release Firecracker v1.0.0 · firecracker-microvm/firecracker
Added
Added jailer option --parent-cgroup <relative_path> to allow the placement
of microvm cgroups in custom cgroup nested hierarchies. The default value is
<exec-file> which is backw...
Added jailer option --parent-cgroup <relative_path> to allow the placement
of microvm cgroups in custom cgroup nested hierarchies. The default value is
<exec-file> which is backw...
Rust release 1.59.0
https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html
Be aware that incremental compilation now off by default and should be enabled explicitly via set
What's new:
In generic types default values for
Inline assembly in unsafe blocks via
#Rust
https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html
Be aware that incremental compilation now off by default and should be enabled explicitly via set
RUSTC_FORCE_INCREMENTAL=1
environment variable.What's new:
Cargo
and rustc
now support stripping when the binary is linked, this can be enabled in Cargo.toml
.In generic types default values for
const
generics can be specified now.Inline assembly in unsafe blocks via
asm!
macro.#Rust
blog.rust-lang.org
Announcing Rust 1.59.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
Interview of Lex Fridman with Michael Saylor (CEO of MicroStrategy) - Michael explained a lot of the crypto economy things clearly, one of the best explanations of crypto ideas and principles ever!
https://www.youtube.com/watch?v=mC43pZkpTec
https://www.youtube.com/watch?v=mC43pZkpTec
YouTube
Michael Saylor: Bitcoin, Inflation, and the Future of Money | Lex Fridman Podcast #276
Michael Saylor is the CEO of MicroStrategy and a prominent holder and proponent of Bitcoin. Please support this podcast by checking out our sponsors:
- Scale: https://scale.com/lex
- Coinbase: https://coinbase.com/lex to get $10 in free Bitcoin
- Audible:…
- Scale: https://scale.com/lex
- Coinbase: https://coinbase.com/lex to get $10 in free Bitcoin
- Audible:…
Must watch/listen episode of Lex Fridman podcast, especially in current situation on crypto market (which will alienate many people from decentralized cryptos, definitely, and then may swamp into the developed market of centralized proprietary digital currencies of central banks) - discussion about money, currencies, assets and values with a very solid person:
https://youtu.be/gp4U5aH_T6A
More on this topic:
https://tttttt.me/technologique/1351
https://tttttt.me/technologique/1490
https://tttttt.me/technologique/1491
https://youtu.be/gp4U5aH_T6A
https://tttttt.me/technologique/1351
https://tttttt.me/technologique/1490
https://tttttt.me/technologique/1491
YouTube
Saifedean Ammous: Bitcoin, Anarchy, and Austrian Economics | Lex Fridman Podcast #284
Saifedean Ammous is an Austrian economist and author of The Bitcoin Standard and The Fiat Standard. Please support this podcast by checking out our sponsors:
- GiveWell: https://www.givewell.org/ and use code LEX
- Scale: https://scale.com/lex
- Uncruise:…
- GiveWell: https://www.givewell.org/ and use code LEX
- Scale: https://scale.com/lex
- Uncruise:…
What was happened with Terra (LUNA) and their TerraUSD (UST) stable coin and what became the reason why the whole crypto market is down now - really good analysis, which shows the weaknesses of the whole crypto market, especially for the altcoins, which has the paired stable coins and liquidity pools in BTC (which is true for the most of other coins) - read in this thread:
https://twitter.com/OnChainWizard/status/1524123935570382851
https://twitter.com/OnChainWizard/status/1524123935570382851
Twitter
Onchain Wizard
How to make a >800 million dollars in crypto attacking the once 3rd largest stablecoin, Soros style: Everyone is talking about the $UST attack right now, including Janet Yellen. But no one is talking about how much money the attacker made (or how brilliant…
Really close example of the weakness of any L1 crypto liquidity ("beware of crypto whales", especially rightful for BTC):
https://twitter.com/megastuffs/status/1520355389555978240
https://twitter.com/megastuffs/status/1520355389555978240
Twitter
Tux
A thread on how a $50M loan of the native asset on any major L1 can trigger a catastrophe 🧵
Technologique
OOMd - user space daemon for killing processes by out of memory exception raises. И в дополнение к предыдущей статье, а также серии статей, опубликованных мной ещё в январе месяце, написанных во время активной фазы работ над оптимизацией датацентров, сервисов…
Results of many years of hard work on OOM, OOMd, EarlyOOM, and PSI subsystems for Linux kernel.
https://engineering.fb.com/2022/06/20/data-infrastructure/transparent-memory-offloading-more-memory-at-a-fraction-of-the-cost-and-power/
Additional article:
https://tttttt.me/technologique/1304
https://engineering.fb.com/2022/06/20/data-infrastructure/transparent-memory-offloading-more-memory-at-a-fraction-of-the-cost-and-power/
Additional article:
https://tttttt.me/technologique/1304
Engineering at Meta
Transparent memory offloading: more memory at a fraction of the cost and power
Transparent memory offloading (TMO) is Meta’s data center solution for offering more memory at a fraction of the cost and power of existing technologies In production since 2021, TMO saves 20 perce…
Forwarded from Lex Fridman
Here's my conversation with John Carmack, legendary programmer & engineer. At over 5 hours, this is officially the longest conversation I've had on the podcast, and we can talk many more times. This was really fun and a huge honor for me. https://www.youtube.com/watch?v=I845O57ZSy4
YouTube
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309
John Carmack is a legendary programmer, co-founder of id Software, and lead programmer of many revolutionary video games including Wolfenstein 3D, Doom, Quake, and the Commander Keen series. He is also the founder of Armadillo Aerospace, and for many years…
Intel SGX and thus AWS Nitro enclaves are having vulnerability.
https://aepicleak.com
https://aepicleak.com/aepicleak.pdf
https://github.com/IAIK/AEPIC
AES-NI and RSA keys easily leaked through APIC registrers and MMIO memory, i.e. through data transferring between L2 and L3 cache. This is Intel's architectural vulnerability, affecting 10, 11, 12 generation.
Microcode update (with registers and MMIO pages cleaning after every operation with enclave) is already on its way.
Also it's recommended to use MSR registers (x2APIC mode) instead of MMIO (xAPIC mode) to use and access APIC registers.
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00657.html
https://www.intel.com/content/www/us/en/developer/articles/technical/softwaresecurity-guidance/advisory-guidance/stale-data-read-from-xapic.html
https://aepicleak.com
https://aepicleak.com/aepicleak.pdf
https://github.com/IAIK/AEPIC
AES-NI and RSA keys easily leaked through APIC registrers and MMIO memory, i.e. through data transferring between L2 and L3 cache. This is Intel's architectural vulnerability, affecting 10, 11, 12 generation.
Microcode update (with registers and MMIO pages cleaning after every operation with enclave) is already on its way.
Also it's recommended to use MSR registers (x2APIC mode) instead of MMIO (xAPIC mode) to use and access APIC registers.
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00657.html
https://www.intel.com/content/www/us/en/developer/articles/technical/softwaresecurity-guidance/advisory-guidance/stale-data-read-from-xapic.html
https://blog.rust-lang.org/inside-rust/2022/02/03/async-in-2022.html
Obviously Rust needed more powerful abstractions, GAT (generic associated types) implementation stabilized, also going even further to HKT (higher kinded types, also referred as types of types, or type constructors), and dependent types, with following implementation of CoC (calculus of constructions).
And as a systems language there're a lot more things should be done to use Rust even more widely, espesially for embedded systems (automotive and aerospace sphere for example). For example, fault tolerance to run-time memory allocation exceptions in stdlib collections, dealing with infallible methods (panic on allocation failure in operations with collections), more improved error handling (to handle panics in main thread), and process recovering, after alloc errors, not yet fully supported in Rust stdlib's collections API (see this issue: https://github.com/rust-lang/rust/issues/29802).
Obviously Rust needed more powerful abstractions, GAT (generic associated types) implementation stabilized, also going even further to HKT (higher kinded types, also referred as types of types, or type constructors), and dependent types, with following implementation of CoC (calculus of constructions).
And as a systems language there're a lot more things should be done to use Rust even more widely, espesially for embedded systems (automotive and aerospace sphere for example). For example, fault tolerance to run-time memory allocation exceptions in stdlib collections, dealing with infallible methods (panic on allocation failure in operations with collections), more improved error handling (to handle panics in main thread), and process recovering, after alloc errors, not yet fully supported in Rust stdlib's collections API (see this issue: https://github.com/rust-lang/rust/issues/29802).
blog.rust-lang.org
Async Rust in 2022 | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
Have you remember (or am I just oldie here) the story behind Firefox versus Iceweasel in Debian Linux distro? And how many years it was take for resolution of that situation for community?
Looks like Mozilla lawyers in Rust Foundation made the same for Rust name, logo and branding. They successfully thrown shit on a fan again.
This is bad for community, open source and projects, which are based on Rust language and bad for wide spreading and mass adoption of Rust language.
It's time to make a fork of Rust language compiler, consolidate community efforts on it and name it TRUST with Ferris logo. =) This way it will conform with FLOSS spirit.
(And looks like I should now unstick my favourite violet Rust logo from my old Thinkpad laptop.)
https://youtu.be/gutR_LNoZw0
#Rust
#RustLang
Looks like Mozilla lawyers in Rust Foundation made the same for Rust name, logo and branding. They successfully thrown shit on a fan again.
This is bad for community, open source and projects, which are based on Rust language and bad for wide spreading and mass adoption of Rust language.
It's time to make a fork of Rust language compiler, consolidate community efforts on it and name it TRUST with Ferris logo. =) This way it will conform with FLOSS spirit.
(And looks like I should now unstick my favourite violet Rust logo from my old Thinkpad laptop.)
https://youtu.be/gutR_LNoZw0
#Rust
#RustLang
YouTube
Rust Foundation IS DOING WHAT????
The new proposed trademark policy of the rust foundation is absolutely nuts, lets go over it
https://twitter.com/rust_foundation/status/1644132378858729474
### Twitch
Everything is built live on twitch
Twitch : https://bit.ly/3xhFO3E
Discord: discord.gg/ThePrimeagen…
https://twitter.com/rust_foundation/status/1644132378858729474
### Twitch
Everything is built live on twitch
Twitch : https://bit.ly/3xhFO3E
Discord: discord.gg/ThePrimeagen…
A good intro, with an example on a poker black-jack game, to the relatively new features of C++, which are provides a good memory management practices (with unique_ptr and shared_ptr).
https://www.youtube.com/watch?v=b8V-WIjlScA
#CPP
https://www.youtube.com/watch?v=b8V-WIjlScA
#CPP
YouTube
Modern C++: Unique Ptrs and Vectors
Dave takes you on a tour of the modern C++ features you need to know in order to avoid memory leaks, corruption, and other common pitfalls of using C++.
Code: https://github.com/davepl/blackjack
Code: https://github.com/davepl/blackjack
Technologique
A good intro, with an example on a poker black-jack game, to the relatively new features of C++, which are provides a good memory management practices (with unique_ptr and shared_ptr). https://www.youtube.com/watch?v=b8V-WIjlScA #CPP
YouTube
Modern C++: Upgrade Your Skills with Shared Pointers!
Dave take you a tour of some core advanced C++ features including smart pointers, weak pointers, constructor aliasing, custom deleters, and atomic operations. All examples are presented in compilable code that can be downloaded below.
Code: https://gi…
Code: https://gi…
Technologique
Have you remember (or am I just oldie here) the story behind Firefox versus Iceweasel in Debian Linux distro? And how many years it was take for resolution of that situation for community? Looks like Mozilla lawyers in Rust Foundation made the same for Rust…
Crab Lang 🦀
Well, making a community driven and community oriented fork of a Rust language was only a question of time. History does repeat itself again.
https://crablang.org
https://github.com/crablang/crab
https://github.com/crablang/crabgo
#Rust #RustLang #Crab #CrabLang
Well, making a community driven and community oriented fork of a Rust language was only a question of time. History does repeat itself again.
https://crablang.org
https://github.com/crablang/crab
https://github.com/crablang/crabgo
#Rust #RustLang #Crab #CrabLang
crablang.org
A community fork of a language named after a plant fungus.
Technologique
Crab Lang 🦀 Well, making a community driven and community oriented fork of a Rust language was only a question of time. History does repeat itself again. https://crablang.org https://github.com/crablang/crab https://github.com/crablang/crabgo #Rust #RustLang…
Beware (or be aware, already) of community fragmentation!
'Cause it's already happening (Crab language as a response to Rust management mistakes)!
Here's the video about all recent events in the Rust community:
https://youtu.be/QEnuzwCWpgQ
#Rust #RustLang
#Crab #CrabLang
#RustFoundation
'Cause it's already happening (Crab language as a response to Rust management mistakes)!
Here's the video about all recent events in the Rust community:
https://youtu.be/QEnuzwCWpgQ
#Rust #RustLang
#Crab #CrabLang
#RustFoundation
YouTube
Rust is being destroyed from the inside
While Rust has earned a dedicated following, it's not without its fair share of controversies and problems. In this video I'll talk about the negative response and backlash from the Rust community in the wake of the most recent controversy, its connections…
Rust Rover
New standalone IntelliJ IDEA based IDE for the Rust language ecosystem with a cool name. Not just a plugin for CLion anymore.
https://blog.jetbrains.com/rust/2023/09/13/introducing-rustrover-a-standalone-rust-ide-by-jetbrains/
Rust language gaining more and more traction!
#Rust
#RustLang
New standalone IntelliJ IDEA based IDE for the Rust language ecosystem with a cool name. Not just a plugin for CLion anymore.
https://blog.jetbrains.com/rust/2023/09/13/introducing-rustrover-a-standalone-rust-ide-by-jetbrains/
Rust language gaining more and more traction!
#Rust
#RustLang
The JetBrains Blog
Introducing RustRover – A Standalone Rust IDE by JetBrains | The RustRover Blog
“When will there be a Rust IDE?” We get this question from our users quite frequently, and today we’re happy to announce that the day has arrived. Please welcome RustRover, our standalone IDE for R