*Update on the Mu computer*

Mu now has support for Unicode. Just graphemes that map to single code points; no combining characters.

Mu also is starting to gain a fake screen that (interactive) programs can print to in tests.

Here's how it looks: archive.org/details/akkartik-2

Strings are arrays of bytes. To iterate over the graphemes in a string, store it in a stream and read graphemes from the stream.

github.com/akkartik/mu

Show thread

*Update on the Mu computer's memory-safe language*

Mu now type-checks calls to functions implemented in unsafe SubX machine code. I have to provide signatures explicitly, and they look like this:

akkartik.github.io/mu/html/400

github.com/akkartik/mu

Show thread

RT @BMorearty@twitter.com

Recently I tried @excalidraw@twitter.com & was stunned to see it open/save a file almost like a normal app. No upload/download.

In the commits I saw @tomayac@twitter.com had added this capability using Native Filesystem API.

In this #webdevlive talk he shows how to use the API. youtu.be/r3QPKK0JPtI?t=5958

🐦🔗: twitter.com/BMorearty/status/1

I'm a regular used of `hexdump` to view an hexadecimal dump of a file.
But I wasn't aware of the `hexcurse` hexadecimal *editor*.

maketecheasier.com/using-hex-e

@vertigo
Scala sucks for many reasons, not least that all the rich type information is lost in the jvm bytecode. A lot of behaviors in Scala are just impossible to debug in a debugger. Lazy initialization had me running in circles for weeks once (because the debugger would initialize the variable to show it's value.)
@akkartik @s_ol

Code structure question: A struct is built from data pulled from multiple files. This involves passing it around. It's technically usable before it's finished. Is there a good way to avoid accidentally using it other than a "valid" boolean that requires constant checking? 

@vertigo

@badtuple @akkartik

I would have a substructure for the data in each source (so that they can be loaded independently / in parallel) and then compose all of them into the final structure.

Mastodon

The original server operated by the Mastodon gGmbH non-profit