søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

prologic (twtxt.net)

@dce Happy New Year to you too! 🥳

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

@ionores Very nice! 😊 Happy New Year to you too!

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

Happy New Year (2026) 🥳

Read replies 11 months ago
prologic (twtxt.net)

mu (µ) now has builtin code formatting and linting tools, making µ far more useful and useable as a general purpose programming language. Mu now includes:

  • An interpreter for quick "scriptinog"
  • A native code compiler for building native executables (Darwin / macOS only for now)
  • A builtin set of developer tools, currently: fmt (-fmt), check (-check) and test (-test).
Read replies 11 months ago
prologic (twtxt.net)

@movq Mu (µ)'s startup latency appears to be ~10ms on my machine:

$ time ./bin/mu ./foo.mu 

real    0m0.011s
user    0m0.004s
sys     0m0.006s
In reply to: #2p27wba 11 months ago
prologic (twtxt.net)

@movq Is this on yout little toy OS? 🤔

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

@lyse I can tell you this right now, writing assembly / machine code is fucking hard work™ 😓 I'm sure @movq can affirm 🤣 And when it all goes to shit™ (which it does often), man is debugging fucking hard as hell! Without debug symbols I can't use the regular tools like lldb or gdb 😂

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

@lyse Yeah I remember you said some days back that your interest in compilers was rekindled by my work on mu (µ) 😅

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

Whoo! I fixed one of the hardest bugs in mu (µ) I think I've had to figure out. Took me several days in fact to figure it out. The basic problem was, println(1, 2) was bring printed as 1 2 in the bytecode VM and 1 nil when natively compiled to machine code on macOS. In the end it turned out the machine code being generated / emitted meant that the list pointers for the rest... of the variadic arguments was being slot into a register that was being clobbered by the mu_retain and mu_release calls and effectively getting freed up on first use by the RC (reference counting) garbage collector 🤦‍♂️

Read replies 11 months ago
prologic (twtxt.net)

@lyse True !

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