Better HN
topnewbestaskshowjobs
Log inSign up

slashvar

3 karma · joined May 10, 2012 (14y ago) · 3 submissions

Submissions

1.

Mixing ASM-inline and C++ template in lock-free implem.(blog.lse.epita.fr ↗)

3 points · by slashvar · 13y ago · discuss

comment 14y ago · link · parent

Yes, this is in the TODO list ;)

In fact, it doesn't reach top priority since we can do without for now (we have bitfields.) The issue with slicing is more a question of design: does slicing need to be constant expression or should we authorize more expression power (and then how could we implement that and how could we check it … )

Anyway, I'm looking for a clever way to define values accessed in a none uniform ways.

Integer as bit array was the simplest idea to test (and seems useful to me.) Now the compiler has almost everything I need to implement easily that kind of syntactic sugars.

comment 14y ago · link · parent

Reference counting is the low-end of automatic memory management and garbage collection.

And about GC in kernel, of course you can. The issue is that most efficient GC needs giant locking and giant locking in kernel is something that you don't want.

In fact you can really live without GC. The burden of integrating it in kernel space out-range the benefit of using it.