Better HN
topnewbestaskshowjobs
Log inSign up

osn

6 karma · joined Mar 15, 2015 (11y ago) · 7 submissions

Submissions

comment 11y ago · link · parent

I cant's see the argument shredded by modeling....

comment 11y ago · link · parent

Link?

comment 11y ago · link · parent

It looks somehow promissing in concepts but I am afraid all such a platform needs a clear mobile story today..

comment 11y ago · link · parent

The issue with this code is not that it isn't eager enough. It deoesn't free the memory ever (for value of ever "till the whole stack is not freed, that can be the whole runtime of the program").

comment 11y ago · link · parent

GC doesn't preven all the memory leaks. En easy example is a stack class backeed by an array. If you need more members, you allocate a bigger array and copy members. (The GC takes care of the smaller old array).

So far so good. But You forget to allocate smaller array (and copy members) when you consume too much memory. So 1000000* push(something) followed by 1000000*pop() keeps plenty allocated memory not in usage.

(It's not as brutal as malloc() and forget the result but still pretty awfull situation in a large project.)

comment 11y ago · link · parent

I mean xonsh. Oh'my exists for zsh, fish, git...

comment 11y ago · link · parent

Is there oh-my-xonsh ready or should we wait for it?