søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

prologic (twtxt.net)

The compiler technique I'm using here is to not "emit" most of the runtime if it's actually never used in your program, and also dropping dead code in the SSA pass.

In reply to: #kaiqxgq 11 months ago
prologic (twtxt.net)

@movq I've managed to bring a simple "Hello World!" in mu (µ) (at least on macOS / Darwin / ARM64) down to ~86KB (previously ~146KB) 🥳

In reply to: #kaiqxgq 11 months ago
prologic (twtxt.net)

Hmmm I need to figure out a way to reduce the no. of lines of code / complexity of the ARM64 native code emitter for mu (µ). It's insane really, it's a whopping ~6k SLOC, the next biggest source file is the compiler at only ~800 SLOC 🤔

Read replies 11 months ago
prologic (twtxt.net)

@movq I think I can get binaries even smaller with a bit more work and effort 🤔 But yeah still working on the native code generation (at least for macOS targets)

In reply to: #gslvc3q 11 months ago
prologic (twtxt.net)

@movq Oh that's fine, Mu can compile to native code and so far binaries. at least on macOS are in the order of Kb in size 😂

In reply to: #gslvc3q 11 months ago
prologic (twtxt.net)

@movq It'd be cool if you could get µ (Mu) running in your little toyOS 🤣 You'd technically only have to swap out the syscall() builtin for whatever your toy OS supports 🤔

In reply to: #gslvc3q 11 months ago
fredg (galusik.fr) Read replies 11 months ago
prologic (twtxt.net)

@thecanine I see 🤔 Very cool though! 😎

In reply to: #jvgxb7q 11 months ago
thecanine (twtxt.net)

@prologic Not even entirely sure how I did it myself, but likely a lucky combination of the new tail swirl, the legs closer to the screen being bigger and the head looking slightly to the side (eye & ear position), with bottom part of the hair, going behind the snout. The white is just an outline, around most of my works, so I don't think that plays a part.

In reply to: #jvgxb7q 11 months ago
prologic (twtxt.net)

@movq I watched a few of these thanks to you! Very cool shit™ 😎

In reply to: #txkctuq 11 months ago
Reply via email