News for hackers. Stuff that matters.

mateus_amin

Re:Assorted Thoughts on Zig and Rust on Tuesday October 20, 2020 @05:50PM (#24842697)
> If you make a language GC by default with opt-in ownership, what does your standard library look like?

I could see the opposite working out very well. Having a GC type you can box other types in.

https://github.com/Manishearth/rust-gc

Re:Type-Level Programming in Rust on Monday October 05, 2020 @03:24PM (#24691088)
That is really cool. Would "Use types as data primitives" be a good way to describe Tyrade?
Re:Pebble: A RocksDB Inspired Key-Value Store Written in Go on Tuesday September 15, 2020 @06:46PM (#24487611)
I wonder the same thing. I have not programed a DB but..

I would think the worst thing to program in a gc'd language would be the cache. So, if you write that layer of the database separately in a non-gc'd you would avoid most of the headache.

EDIT: I read the parent comment as why program a db in a gc language. I think the new wave 1st gen db's are doing alot of novel things. Minus the cache I imagine the velocity improvements form the 'simpler' language makes sense. Key value stores are become well trod ground however.