Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hopia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
hopia
6y ago
So what kind of bugs do you commonly experience then in Haskell programs? From my limited experience I agree that debugging a bug that passes compilation is more difficult than on other platforms.
32.
▲
by
hopia
6y ago
I've made the same observation. Does it have something to do with US tax or other regulations?
33.
▲
by
hopia
6y ago
What an odd bunch of languages to benchmark. Why wasn't Go, Haskell, Java or OCaml even considered here? Seems much more appropriate than the likes of Javascript for scientific computations.
34.
▲
by
hopia
6y ago
So then why doesn't "98% pure functional programming" work either as the author puts it?
35.
▲
by
hopia
6y ago
Wouldn't Flutter be the killer app to Dart as Rails was to Ruby by your analogy?
36.
▲
by
hopia
6y ago
Erlang VM is consistent/predictable in terms of latency, it's engineered that way. For pure computational performance you won't find it optimal.
37.
▲
by
hopia
6y ago
A new Erlang VM with just replicated functionality is a fairly hard sell to the Erlang/Elixir community, who brag with the industrial track record of the BEAM. I believe you'd get much more interest if there was some ambitious new
38.
▲
by
hopia
6y ago
https://www.vincit.fi/en/software-development-450-words-per-...
39.
▲
by
hopia
7y ago
Gleam seems like effort in the right place, I'm looking forward to seeing it in the wild! Since we got you here, can you tell us what's your plan with static type checking for message passing semantics? From what I understand, tha
40.
▲
by
hopia
7y ago
That's a great explanation for a soft real-time system! However, I meant that I always assumed that BEAM prioritized low consistent latency at the expense of high throughout (but without providing hard real-time guarantees). And the me
41.
▲
by
hopia
7y ago
> BEAM is by default tuned for throughput over latency I thought it's exactly the other way around. I Always assumed BEAM is built for concurrent, consistent low latency IO. The benchmarks seem to vaguely reflect that.
42.
▲
by
hopia
7y ago
Wow, these all look like well crafted. What's your web framework of choice with Haskell?
43.
▲
by
hopia
7y ago
Sounds like you would be better suited using some form of dependently typed system as far as type systems go. If I understand you correctly now, a functional language with no real type system (and thus no such compiler enforced constraints)
44.
▲
by
hopia
7y ago
> yet is an area where functional languages are uniquely poorly suited Can you clarify if you mean that the type system gets in the way here, or the same would apply to even dynamically typed functional languages? I'm trying to un
45.
▲
by
hopia
7y ago
It's for runtime debug logging after all, not intended to solve those issues. Space leaks I'd like to read more about but writings about them are a bit hard to come by. Recommendations?
46.
▲
by
hopia
7y ago
Why would you want to print inside a pure function though?
47.
▲
by
hopia
7y ago
I find myself coming back to this for various stuff all the time. It's a great reference that touches basically everything important for writing real apps with Haskell.
48.
▲
by
hopia
7y ago
The IDE problem is still a major pain in Haskell. However, for now there are just I think 2 main options to choose from, and it's fairly straightforward. Still, not everything works as expected yet. We've come a really long way in
49.
▲
by
hopia
7y ago
Can you expand on this for us who do not work at large companies with massive scale services?
50.
▲
by
hopia
7y ago
What did you settle on, considering you were otherwise Haskell focused?
51.
▲
by
hopia
7y ago
That's a good idea. Does it work?
52.
▲
by
hopia
7y ago
I don't think purely about Dart, originally it seemed to be aimed as a technically more robust cross-platform competitor to React Native. Its implementation has good merit in that regard. That said, it may well not survive nearly as lo
53.
▲
by
hopia
7y ago
Why is that? You mean that you're worried about Google calling quits on Flutter sometime soon?
54.
▲
by
hopia
7y ago
Not all European nations were colonizers, some were instead victims of colonization. Are these European states eligible for colonial reparations as well?
55.
▲
by
hopia
7y ago
Right, and what do the ex-USSR states get from the USSR's successor state Russia as compensation? I believe this swamp would be bottomless, and not every nation or victim who suffered from wrongdoings of others would get paid anyway. E
56.
▲
by
hopia
7y ago
You generally would not put logging into pure functions as that would be fairly pointless. You only log in the IO actions where you can log freely anyway.
57.
▲
by
hopia
7y ago
Writing EDSLs (E for embedded) is fairly common in Haskell. I don't know if it's as easy as with Lisp macros though since I have no exposure to that. Many DSLs are written on Haskell (Elm and Purescript come to mind) as well.
58.
▲
by
hopia
7y ago
Elixir and Clojure are not pure functional languages at all. They allow you to perform side effects freely, such as sending messages to different threads. They're not reflective of what the actor model would look like when implemented
59.
▲
by
hopia
7y ago
Yep Erlang is fairly procedural as a language in a sense. I don't think being functional was ever a priority, more like a side-effect. I don't know how mailboxes and message passing would really work in a purely functional languag
60.
▲
by
hopia
7y ago
Do you refer to Erlang excelling in distributed concurrency, due to how its built to rely on the actor model? Or Erlang also excels in concurrency on a single machine? Btw, what are some of those other things hampering Haskell's perfor
More ›