Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Bored

Name: Anonymous 2012-07-24 23:15

I'm incredibly bored, so I thought I'd write 2 probably incredibly bad ideas.

1. Indentation instead of braces
2. For memory management, we use either a manual memory management, or a garbage collector. But what if instead, we used both? Having the compiler determine if some data should be allocated using alloca, malloc, an object cache, arena allocator, etc, and if it should be freed using deference, deletion, refcounter, or garbage collection, and if garbage collection, to create mutexes for "entry points" for which to search from. Then have GCs run in their own threads while the other stuff in running.

I can think of more bad ideas too.

Name: Anonymous 2012-07-25 0:03

>>6
That's wrong, probably they will use the stack
Right, sorry, that's what I meant.

malloc and free are slower than a good garbage collector.
Maybe less space efficient due to fragmentation, but slower?  Come on.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List