Better HN
topnewbestaskshowjobs
Log inSign up

xnacly

591 karma · joined Apr 27, 2022 (4y ago) · 119 submissions

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

Submissions

comment 2w ago · link · parent

Not a dynamic language, its statically typed, the cost of passes is fairly low compared to the runtime itself

2.

An ode to livelyness analysis; SSA to registers(xnacly.me ↗)

54 points · by xnacly · 2w ago · 4 comments

3.

Interpreter spill stack on the process stack(xnacly.me ↗)

1 points · by xnacly · 1mo ago · discuss

comment 3mo ago · link · parent

Ah damn, i was too edgy when writing the title i guess

5.

Making stinkarm stink less, or more – userspace armv7 emulator(xnacly.me ↗)

9 points · by xnacly · 3mo ago · 3 comments

6.

Sqleibniz – Static Analysis and LSP for SQL in Rust(github.com ↗)

2 points · by xnacly · 4mo ago · discuss

comment 4mo ago · link · parent

the art is def ai generated, text seems okay thusfar?

8.

A go library for interacting with translate.kagi.com(github.com ↗)

1 points · by xnacly · 4mo ago · discuss

comment 7mo ago · link · parent

Well it does suck for a huge list of reasons but specifically disqualifying for being the lingua franca would be it being controlled by microsoft

comment 7mo ago · link · parent

> We write a lot of TypeScript at Cloudflare. It’s the lingua franca of software engineering.

This scares me more than Im able to admit, typescript sucks and in my opinion its way worse than the more commonly used lingua franca of computing, which I would attribute to C. At least C can be used to create shared objects i guess?

11.

Revisiting and Optimising go-iso8601-duration(xnacly.me ↗)

2 points · by xnacly · 7mo ago · discuss

comment 8mo ago · link · parent

Each syscall taking 15ms on top of the normal considered costly time taken for context switching to the kernel seems excessivly slow, no?

13.

Building the Worst Vi Emulation for My Mail Client(xnacly.me ↗)

3 points · by xnacly · 9mo ago · discuss

comment 9mo ago · link · parent

Well i do use banking and netflix on graphene os on my pixel 8a and everything works perfectly

comment 10mo ago · link · parent

Hi, no it doesnt, this example of course breaks using temporary registers used after the optimisation. But thats why peephole is a fallback to ir optimisation, since they are only local.

I honestly didnt think of this possibility while building the optimisation. Since constant folding is done as an ir pass i will remove the peephole pass, thanks for noticing :)

comment 10mo ago · link · parent

I love jetbrains mono, together with go mono my favourite fonts

comment 10mo ago · link · parent

Im sorry i forgot to highlight the braces around (2+3)*(4-1);

Either way the parser isnt implemented yet and all ast examples for the compiler are hardcoded

18.

Poking holes into bytecode with peephole optimisations(xnacly.me ↗)

37 points · by xnacly · 10mo ago · 2 comments

comment 10mo ago · link · parent

xnacly.me

comment 10mo ago · link · parent

Assembly requires way more work than compiling to, say C. Clang and gcc do a lot of the heavy lifting regarding optimisation, spilling values to the stack, etc

21.

The Manchester Garbage Collector and purple-garden's runtime(xnacly.me ↗)

23 points · by xnacly · 10mo ago · discuss

comment 11mo ago · link · parent

No clue what that is, I dont talk to hr

comment 11mo ago · link · parent

what a weird and mean comment, do better

comment 11mo ago · link · parent

the rust example is so far off being useful and file io seems completly dumb in this context

comment 11mo ago · link · parent

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

26.

Go port of A Fast 64–Bit Date Algorithm, based on benjoffe.com/fast-date-64(github.com ↗)

2 points · by xnacly · 11mo ago · discuss

comment 1y ago · link · parent

Its winter, it takes a literal second to fade out

comment 1y ago · link · parent

I think rust macros could shine for this usecase, definitely on my TODO list

comment 1y ago · link · parent

The snowflakes do vanish once you scroll down even a single pixel

30.

Building a Minimal Viable Armv7 Emulator from Scratch(xnacly.me ↗)

75 points · by xnacly · 1y ago · 21 comments

1234