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-24 23:59

>>3
will generate manual allocations and frees if possible.
That's wrong, probably they will use the stack, but malloc and free are slower than a good garbage collector.

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