Пишем свою OS на Zig: Первый релиз с многоядерностью, FAT32 и скриптами

11 000 строк кода, 95% Zig, 0% стандартной библиотеки: история создания NovumOS с поддержкой SMP, FAT32 LFN и Huge Pages. Привет, Хабр! 👋 Меня зовут Антон, и я хочу поделиться историей создания своей собственной операционной системы. Это моя первая статья и первый серьезный релиз системы ( v0.20 ). Многие разработчики мечтают написать свою операционную систему. Обычно этот путь заканчивается на выводе "Hello World" в VGA-буфер. Я тоже начинал с малого (C# COSMOS), потом уходил в Ассемблер, бросал, возвращался... Но в этот раз я решил пойти до конца. Моей целью было не просто запустить ядро, а создать современную, масштабируемую архитектуру на современном языке. Встречайте NovumOS ...

https://habr.com/ru/articles/995136/

#Zig #OSDev #Kernel #операционные_системы #x86 #SMP #multicore #paging #FAT32 #ACPI

Пишем свою OS на Zig: Первый релиз с многоядерностью, FAT32 и скриптами

Привет, Хабр! 👋 Меня зовут Антон, и я хочу поделиться историей создания своей собственной операционной системы. Это моя первая статья и первый серьезный релиз системы ( v0.20 ). Многие разработчики...

Хабр
Paging in a REST API

PeerTube

Paging3 в стиле Compose: секретный DSL, о котором молчат все Android-разработчики

В статье описан путь преобразования предложенного экспертами Google способа отображения страничных данных с использованием библиотеки Paging3 и Compose от развесистого сборника if'ов и when'ов, вероломно нарушающего все границы архитектурных слоев, до чистого, лаконичного и затягивающего в себя DSL. Погрузиться в магию

https://habr.com/ru/articles/907910/

#DSL #paging #kotlin #compose #multiplatform #android

Paging3 в стиле Compose: секретный DSL, о котором молчат все Android-разработчики

Всем известна чрезмерная многословность библиотек Jetpack от Google для разработки на Android. Однажды я спросил у chatGPT, зачем они так со мной, на что ИИ таким же многословным образом рассказал о...

Хабр

#Paging #TheHague: #Israel’s Exploding Electronics Might Be War Crimes

Experts on international law pointed to the indiscriminate nature of the blasts in Lebanon and the prohibition on #BoobyTraps.

Jonah Valdez
September 19 2024

"A day after pagers simultaneously exploded across #Lebanon and #Syria, a second round of bombs — this time embedded in #walkietalkies and solar equipment — detonated on Wednesday in #Beirut and throughout Lebanon.

"The combined death toll from the attacks rose to at least 37 people, including a 9-year-old girl and an 11-year-old boy, with more than 3,000 wounded. Doctors at a Beirut hospital reported that many among the injured had lost eyes and had to have limbs amputated. Exploding walkie-talkies caused more than 70 fires to erupt in homes and stores across Lebanon, along with more than a dozen cars and motorcycles.

"While the Israeli government has yet to claim responsibility for the attack, multiple U.S. officials have said Israel was behind the device explosions.

"The seemingly indiscriminate nature of the attacks has drawn the attention and concern of experts in international law who caution that the explosions may rise to the level of #WarCrimes.

"'If it is Israel behind this, they’ve got some tough questions to answer, including to the U.S. government, because the U.S. government is providing great military support,' said Brian Finucane, a former State Department legal adviser under Presidents Barack Obama and Donald Trump. 'It really should be in the U.S. government’s interest to ensure that its military partners are complying with the laws of war.'"

https://theintercept.com/2024/09/19/israel-pager-walkie-talkie-attack-lebanon-war-crimes/

#Israel #IsraeliWarCrimes #BibiIsAWarCriminal #FreePalestine #CeasefireNow #USGovernmentIsComplicit #StopFundingGenocide #Divest #IsraelDivestment #IsraelHumanRightsViolations

Paging The Hague: Israel’s Exploding Electronics Might Be War Crimes

Experts on international law pointed to the indiscriminate nature of the blasts in Lebanon and the prohibition on booby traps.

The Intercept

Demand-paging is pretty cool.

Also don't compress your #Lisp program images, that means the whole thing has to be read into memory to decompress it and then only has the opportunity to paged out eventually.

If you think your images are too big on disk, use a storage system (like a #filesystem) that can transparently compress data stored in it, such as #ZFS or #btrfs.

Then you get your demand-paging benefits *and* reduced storage load.

#CommonLisp #Paging #Swap #Memory #IO

Putting the "You" in CPU

Curious exactly what happens when you run a program on your computer? Learn how multiprocessing works, what system calls really are, how computers manage memory with hardware interrupts, and how Linux loads executables.

Putting the "You" in CPU
So why is #Microsoft #Windows so terrible? Why does it completely lose its mind and stutter like it's #paging wildly to a 1997 hard drive, when nominally it's using only 52% of memory and 15% of CPU? How is that a huge problematic situation that it can't cope with? #arggghhh

Blogged: Analyzing your Program's Memory by Inspecting the Linux Page Table

https://www.lukas-barth.net/blog/linux-inspect-page-table/

#linux #paging

Analyzing your Program's Memory by Inspecting the Linux Page Table | Lukas' Homepage

When optimizing code for performance, it is often useful to have a very clear idea about what happens in memory. Reducing page faults, cache misses, TLB misses et cetera can be a major factor in speeding up your code. In this post I will demonstrate how you can inspect paging information regarding the memory of your process under Linux.

Lukas' Homepage
Paging in a REST API

PeerTube

#letsroll

⚅ ⚃ ⚄ ⚅ ⚃→#unstitch
⚁ ⚃ ⚁ ⚅ ⚃→#dropper
⚃ ⚀ ⚁ ⚂ ⚄→#mom
⚃ ⚀ ⚁ ⚁ ⚅→#mold
⚃ ⚁ ⚄ ⚃ ⚅→#osmosis
⚃ ⚂ ⚃ ⚁ ⚄→#paging

unstitch-dropper-mom-mold-osmosis-paging

Roll your own @ https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases

EFF's New Wordlists for Random Passphrases

Joe Bonneau dives deep into systems using dice to generate random passphrases and introduces EFF's three new wordlists.

Electronic Frontier Foundation