Readit News logoReadit News
xnacly commented on Java Hello World, LLVM Edition   javaadvent.com/2025/12/ja... · Posted by u/ingve
znkr · 8 days ago
LISP ;-)
xnacly · 8 days ago
This, lisp is perfect for representing arbitrary data, nesting is just another sexpr, easy to produce, easy to parse and easy to debug / reason about
xnacly commented on Building a Minimal Viable Armv7 Emulator from Scratch   xnacly.me/posts/2025/buil... · Posted by u/xnacly
MisterTea · 24 days ago
They stop spawning but the flakes already on the screen continue to fall until they reach the bottom. It's cute but very annoying IMO and there should be a user control to instantly turn it off.
xnacly · 24 days ago
Its winter, it takes a literal second to fade out
xnacly commented on Building a Minimal Viable Armv7 Emulator from Scratch   xnacly.me/posts/2025/buil... · Posted by u/xnacly
pm215 · 24 days ago
For a learning project like this one, this would probably be overkill, but my personal suggestion for instruction decoding is that it really pays in the long term to use a data driven decoder. It's fairly easy to do a handcoded "if bits A..B are 0b1000 and..." decoder for the basic integer parts of the instruction set, but especially as you get into complexities like SIMD and if you need your decoder to be easy to modify to add new instructions later this gets very unwieldy.

QEMU switched to a data driven representation with a python program to autogenerate the "check bit patterns and extract fields" code, and it's one of the better design overhauls we've done: we started using it mostly for new code but went back and converted some of the old handwritten decoders too. It's much easier to add a new instruction when you only need to add a line like

  USADA8           ---- 0111 1000 rd:4 ra:4 rm:4 0001 rn:4
and add a function trans_USADA8() that gets called with the field values, compared to trying to find the right place in a big existing set of handcoded switch and if statements to add the extra checks for the insn.

xnacly · 24 days ago
I think rust macros could shine for this usecase, definitely on my TODO list
xnacly commented on Building a Minimal Viable Armv7 Emulator from Scratch   xnacly.me/posts/2025/buil... · Posted by u/xnacly
bArray · 24 days ago
I had to disable JS, the site is unreadable otherwise.
xnacly · 24 days ago
The snowflakes do vanish once you scroll down even a single pixel
xnacly commented on Porting a Segmented List from C to Rust   xnacly.me/posts/2025/port... · Posted by u/ibobev
kazinator · 2 months ago
> About using the libc crate: This would be against my mentality of not using dependencies if possible and libc is a large one.

Targeting a pre-installed system library requires a large crate? Whaaat?

xnacly · 2 months ago
Well it does, thats why i didnt include it
xnacly commented on Kagi News   blog.kagi.com/kagi-news... · Posted by u/grappler
mr_machine · 2 months ago
I'd like to install and try this, but I don't use Google Play and it's not in F-Droid. Wish they'd just make an APK available.
xnacly · 2 months ago
Same here, the website seems to be working fine on mobile tho

u/xnacly

KarmaCake day531April 27, 2022
About
website: xnacly.me

“Arguing that you don’t care about the right to privacy because you have nothing to hide is no different than saying you don’t care about free speech because you have nothing to say.” ~ Edward Snowden

View Original