Hacker Newsnew | past | comments | ask | show | jobs | submit | tnelsond4's commentslogin

Very interesting and polished. I see that it's got a regex engine written in Pilang as well. I'm curious if there's any benchmarks or comparisons. I'd like to see how big the runtime is, etc.

I think you mean Ed, the standard editor.

I first read this in the jargon file when I must have been… 10? 12? And it’s been stuck in my head ever since.

http://Bellard.org is peak web design. Change my mind.

You can also get really small file sizes by ignoring frameworks and porting unsupported codecs to wasm.

I ported jbig2 (17kb uncompressed) and codec2 (60kb uncompressed) to wasm which enables me to use really small image and audio files in my web app. I also made a custom read only database and search engine with built-in zstd decompressor (39kb uncompressed). It probably wouldn't run on a psp though.

I like optimizing and making things small. I want to use neural audio codecs for even better compression but the model sizes and compute complexity are major hurdles and muddy the vision.


I hope the image and audio bandwidth savings are more than the cost of having to send down the codec JS payload - might be worth it for a web app with a lot of image/audio loading

With a 17kb jbig2 decoder all you need is a few one-bit images (a page of a book scan) for it to save bandwidth.

With a 60kb codec2 decoder you need about 2 minutes of audio to start saving.

But the target is dictionary apps with thousands of seconds of audio and thousands of images.


I was so disappointed that Ghostty doesn't properly render Khmer text. Abugidas are important and you have to be able to render the symbols non-linearly. Cosmic term is the only terminal I've seen that actually works. But it's a bit slow on my 14 year old laptop.

Kitty doesn't work, alacrity doesn't work, foot doesn't work, gnome terminal doesn't work, xfce terminal doesn't work, urxvt doesn't work, xterm doesn't work, the list goes on.


Oop is just Unix philosophy misapplied. Unix philosophy is that each program does one thing and you chain them together. In OOP you have each class do one thing, but at that scale it can become very messy.

The whole period of Obama's presidency was also skipped.

The largest Muslim country in the world is Indonesia, it's quite odd that it wasn't included in Trump's Muslim ban. Obama's administration was the one that made the list of the seven countries that were banned before Trump even became president.


You won’t find me arguing against the fact that Trump haphazardly implemented his ideas and was incompetent. If you’re trying to argue it wasn’t a Muslim ban because Indonesia wasn’t in it, then I’ll just have to point you to Trump himself calling for a ban on Muslims and then implementing a ban on travelers from countries that were all Muslim.

If it uses indexedb under the hood, indexedb is ridiculously slow on first write but subsequent loads are very fast, if you're loading data you would have to load it via some other method first before putting it in indexedb, in order to make it fast.

Linear is 21mb of minified JavaScript which is an awful lot. I made a dictionary progressive web app recently that just needed read only databases, so I rolled my own simple system complete with zstd compression all in a 38kb wasm module.


I was using the original zstd rust crate for my web app, but I couldn't get my module any smaller than 150kb, but when I switched to C for web app I was able to do a whole lot of optimizing and culling until I got it down to 39kb.

I wanted to like Rust, but I was using unsafe code for performance and such anyway that it made more sense to switch to C.


> I got it down to 39kb.

If you're counting KBs and you have to include zstd yourself (a reverse proxy isn't handling it for you) does that mean you're targeting an embedded device? Are you supporting TLS at that size?


39kb includes the zstd decoder which is statically compiled into it. I'm not targeting microcontrollers, but I am targeting smartphones in areas with bad internet connections, so every kilobyte saved is nice. I also just like to optimize things and make them minimal while still being powerful. I don't handle tls, GitHub pages handles all that, I'm just using it to host a static pwa.

I too love meta. My feed is only my friends and people I follow. It's definitely not 90% sponsored posts.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: