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

Thanks for the link.

Article makes it look like nothing happened in the embed/low-memory/single-threaded malloc space in decades since Doug Lea's malloc.

I just implemented TLSF for my minimal Wasm libc: fragmentation is just as good, performance is a lot more consistent (and on average better), for a significant reduction in code size.

http://www.gii.upv.es/tlsf/index.html

https://github.com/ncruces/wasm2go/blob/main/libc-gen/c/mall...


A great idea for another article. A focus, on embedded and malloc()

I do do have a malloc() benchmark but it is in bad shape and directories have not coalesce nicely yet, tor a single run or a menu-driven one.


Interesting! I have also implemented a version of TLSF for my (currently single-threaded) programming language. I also found it to be good for my use case (embedded / minimal code size). I'll compare it against yours. One improvement I did is some kind of preallocation for small blocks. https://github.com/thomasmueller/bau-lang/blob/main/src/main...

> In those cases, the bulk of traffic all needs to slow down, downshift, …

You know that's like, the entire point of roundabouts: force traffic to slow down.


But we are. The models can't even follow the rules: they try illegal moves all the time.

The problem then, is giving them (humans, AIs) unchecked power.

I think the idea is that it being case preserving is sufficient to allow decrypting the filenames.

And I guess it relies on the 31 (32?) bit blocks, to make colisions unlikely for short filenames.


This is true, but I'm not sure if I trust users to preserve case in case-insensitive filenames when copying files around, possibly at some point passing through something like a web server that may apply case normalization. Sort of like timestamps on files, they're handy for things like synchronization, but I hesitate before relying on them as a primary source of truth for anything mission critical.

> … trivial. Just as raising a child is not to break the law.

Trivial?


I read it as sarcastic, illustrating that it's not so trivial. (shrug)

That doesn't really apply to the people running the AI, which gave it the capability to commit crimes.

They don't get to act like victims, asking for law enforcement.


You can make curry with them (either just the peels, or whole unripe bananas).

Curious where my wasm2go would stand compared to wazero. I should test it myself. :)

https://github.com/ncruces/wasm2go


Seconding this as a brilliant project!

Shameless self promotion here but I’m currently using wasm2go to build a native Go runtime for MicroPython https://github.com/gregfurman/micropython-go


Thanks for the kind words!

Added you to my users page a couple days ago, hope you don't mind: https://github.com/ncruces/wasm2go/blob/main/USERS.md


Perelman posted to arXiv in 2002/3.

The prize was offered to him in 2010, after multiple others had digested his work and published elsewhere.


But if I remember correctly, he gained recognition for his achievement rather quickly after posting.

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

Search: