Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
happy_dino
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
happy_dino
13y ago
Interestingly, the only ecosystem which suffers from such issues is Go.
92.
▲
by
happy_dino
13y ago
Amazingly, other communities manage to do that without being so utterly condescending.
93.
▲
by
happy_dino
13y ago
"The developer should have done X!", well, then why doesn't Go just do it by default instead of choosing an approach which has been discarded by pretty much every other modern language/ecosystem? I think the fact that every Go proponent att
94.
▲
by
happy_dino
13y ago
Yes. It's as basic as that the license on your device is explicitly limited to usage for non-commercial stuff. Uploading to YouTube (which serves ads to earn profits) is not non-commercial. Don't trust me. Read the license agreement which c
95.
▲
by
happy_dino
13y ago
Adriaan Moors, Scala Tech Lead at Typesafe starts his talk with a straightforward and possibly controversial idea: Scala is simple. To support his argument, he offers evidence to the contrary, and th
96.
▲
by
happy_dino
13y ago
> why Linux can't win the OS wars It can't win, because it pretty much already has. Embedded: Linux. Smartphones: Linux. Appliances: Linux. Desktop: Windows. Server: Linux. HPC: Linux.
97.
▲
by
happy_dino
13y ago
Facebook didn't use Scala and they managed do hit a lot of same issues, too, like this one: http://code.google.com/p/android/issues/detail?id=22586 Anyway, the presentation is almost two years old now.
98.
▲
by
happy_dino
13y ago
I think it is pretty similar to Java. Java has the native keyword, Scala has the @native annotation.
99.
▲
by
happy_dino
13y ago
There are pretty much no issues using Scala on Android. After running ProGuard, the Scala library takes up a few dozen kilobytes. Execution is as fast as Java. I remember running my Scala app on one of the first tablets (Android 2.x) withou
100.
▲
by
happy_dino
13y ago
> Doesn't Ubuntu and other out-of-the-box desktop friendly distros come with good font settings from the get go? Yes, exactly!
101.
▲
by
happy_dino
13y ago
The good thing is that it only has to be figured out once, then the information can be spread almost freely ... there is something called “the internet” which excels at this.
102.
▲
by
happy_dino
13y ago
> Is it true that iOS uses a different font renderer than Mac OS? Yes, iOS uses (parts of) FreeType. Imagine the shitstorm if they shipped their fuzzy, washed-out default rendering! The issue is that most people buying smartphones are n
103.
▲
by
happy_dino
13y ago
Trying to have a small language sometimes results in allowing (or having to allow it in the sense of not outlawing it) multiple ways to do the same thing, especially as the expressiveness increases. As an example, I don't think Python's “th
104.
▲
by
happy_dino
14y ago
Why do you consider this a debt? It's pretty much the only sane thing to do. If people want to pass lazy NullPointerExceptions, it's their fault.
105.
▲
by
happy_dino
14y ago
The null object pattern and Maybe/Option are different concepts. The most important point: A NOP for some type T exposes T's API directly, while Maybe/Option has its own API (and the type system enforces that Option[T] can't be treated as a
106.
▲
by
happy_dino
14y ago
> Because the security manager needs to be able to introspect the stack. Not allowing certain “optimizations” in security-sensitive contexts is perfectly fine. In fact, this is exactly what Avian, the CLR (and pretty much everyone else)
107.
▲
by
happy_dino
14y ago
For instance oss.readytalk.com/avian. Why should it?
108.
▲
by
happy_dino
14y ago
There is no need or reason to change or add any bytecode instructions to support proper tail calls. Take standard class files and execute them on a runtime with proper tail calls. Done. Works.
109.
▲
by
happy_dino
14y ago
Which I more or less already said with > If one cares about proper tail calls, use an implementation which supports it. Right?
110.
▲
by
happy_dino
14y ago
The “JVM” can use any instruction it wants to use. If you want a runtime with proper tail calls, use a implementation which supports it.
111.
▲
by
happy_dino
14y ago
> it needs to keep it around for the security manager to do its thing Haha. As if the JVM needed proper tail calls to get owned every other week. :-) Anyway, the discussion is pretty much moot, because "JVM" doesn't really refer to spe
112.
▲
by
happy_dino
14y ago
I'd say that this sounds pretty too slow, too. My REPL starts in less than a second.
113.
▲
by
happy_dino
14y ago
Of course. I know his nick from the work on Rust.
114.
▲
by
happy_dino
14y ago
Again, these are C/C++ use-cases. That's exactly what asm.js was made for. Apart from the potential of making some of Mozilla's insane ideas like implementing a PDF reader in JavaScript easier/faster, it's applicability is pretty much limit
115.
▲
by
happy_dino
14y ago
I had high hope, but no, it isn't. It would only let you build your own asm.js-based VM on top of the existing JavaScript-like VM which could implement some bytecode format and interpret it. I have seen something like that already. Let me t
116.
▲
by
happy_dino
14y ago
... which finally adds support for a common bytecode format, usable as a compilation target for various languages. Oh wait, that would actually be useful. Better just design yet-another JIT compiler to speed up that language design train wr
117.
▲
by
happy_dino
14y ago
Agree. More like “mandatory”.
118.
▲
by
happy_dino
14y ago
> [...] which would be the libraries that would be nice to know to separate them from the competition? scala-library.jar, scala-reflect.jar, scala-compiler.jar
119.
▲
by
happy_dino
14y ago
Could you please identify the ad hominem? I don't see it.
120.
▲
by
happy_dino
14y ago
That's pretty much wrong on all accounts. I recommend getting a basic grasp of the topic before trying to defend Go in such an awkward way.
More ›