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

The problem with this is that it isn't as flexible as a normal frige, it basically has to be built into the house. Also, if you don't have it next to a exterior wall, you have to pipe the coolant through the walls or floors. It's a great idea, but it requires a major redesign of the refrigerator, and means you can't easily get a new one if it breaks or you want it bigger or smaller.


Yep, it's not easy, but this problem is already solved with split ACs. While they do require drilling the wall, some people still prefer them to the in-window units.


If you implement closures as thunks, you can just free them when done, no need for GC.

    closure int foo(int x) {return x + y;}
    int(*foo_p)(int) = malloc(sizeof(foo));
    memcpy(foo_p,&foo,sizeof(foo));
    return foo_p;
So, you can add working closures in one keyword (and possibly a special case for function pointer decay).


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

Search: