137 karma · joined August 2, 2011
Yeah, you can only get so far being declarative. Miracles don't happen.
I revived my old lean compiler code and for basic Hello World application on my OnePlus I reached 2.8 sec startup time and ~10 MB heap usage. I consider this a good start if further optimizations are applied (like treeshaking), but in this I rely on community (and specifically Clojure/core team) to pick up the idea.
(comp (transducer map inc) (transducer filter even?))
Of course, it's more typing and doesn't look as nice as single-arity map, but it goes along quite well with (partial map inc).
I can be wrong but to this date Clojure didn't have a function that produces completely different things based on arity, did it?
Why would I compare totally different things? When Android came by, there was no monopoly in the mobile OS market. Every vendor had its own. Also, there are much less legacy applications than on desktops. And mobile OS is substantially easier to catch up with. Prior to smartphone era users had no trouble switching between phone vendors (and subsequently the OSes). Switching to a new a desktop OS is way more difficult step.
Better compare it to OS X. Same decades in the market, and still only ~15% share. Yes, more than GNU, but they do their own hardware, and OS is by far not their main selling point.
I focused on gaming, because we are discussing a post about Valve
Sorry, I shouldn't have jumped on you so quickly. Yes, GNU/Linux seriously lacks in a few more areas besides gaming (namely, professional media editing). But it is still a far stretch to say Linux isn't advancing on the desktops. Jeez, 10 years ago we didn't have a decent office suite.
Anyway, what makes you so concerned about Nvidia motivation? My integrated Intel video does an excellent job drawing whatever 2D I throw at it. And it even can do 3D well enough to play some 5yo games (if you consider TF2 one of those).
What a ridiculous thing to say. Millions of people use *nix operating systems on their desktop computers every day. This number is significantly higher than a few years ago. When I hear someone complaining about state of GNU/Linux on desktops, they usually mean they can't play gamez. Sometimes they add something about lacking good video drivers (to play gamez).
And by your statement you reduce the whole range of possible computer uses to gaming. Maybe we shouldn't confuse "linux in entertainment" with "linux on desktops"? Former is only a subset of the latter.
Don't get me wrong, I like playing, and I adore Valve and their games. But for many GNU/Linux users giving up their freedoms may not be worth another brainless AAA title.
You've said it yourself. Golden words.
What kind of democracy do you expect to get in HN comments? After that half-cocked "outrage" and "being upset" the slacktivist is going to click another cat video startup and forget this topic altogether. I can see dêmos, but κράτος - not at all.
Which of course was really relevant to the discussion. Don't you get annoyed by people showing off when it's completely off the mark?
"Guys and gals, point me to the library to do X." - "You know, there are transgender developers on the channel." - "You don't say."
So I'll just leave this bingo in case you got bored in this thread: http://bit.ly/16i7WAm
I wonder why HN users feel so entitled to getting only the articles they find interesting. I haven't seen this point in Terms & Conditions, have I missed it?
And since when calling a person pretty qualifies as sexism? Or is it the lack of "women in IT" threads lately that makes people throw the S-word around irrelevantly?
I was very unpleasantly surprised when I discovered that OS X uses a single Control key for some of its hotkeys (like C-up/down) which I bind in Emacs for my own purposes.
The main problem of Clojure for Android right now is the large size of Clojure runtime. This leads to two issues: a) long loading time (can take a few seconds even for the basic app), b) applications often gets closed by the OS once switched to another, in order to free that memory.
Since ProGuard is no help in optimizing Clojure-compiled code, the issues should be addressed in some other way. One that is possible is to write source-shaking compiler that will strip the final APK of the unused functions. It's pretty hard to do with the current compiler, but if we eventually write Clojure-in-Clojure compiler (there is a proposal for this year's GSoC by the way), it may be feasible to add these optimizations to it.
And finally a shameless plug: if you are interested in trying Clojure for Android, here are the links to get you started: https://github.com/alexander-yakushev/lein-droid https://github.com/alexander-yakushev/neko