Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Athas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
Athas
8y ago
> How close is Futhark to being considered production-ready? It's not 1.0 yet, and there are ways to trip up the compiler by accidentally writing irregular code (and the workarounds are nonobvious), but several people have used it p
392.
▲
by
Athas
8y ago
Yes, we considered that. There were two reasons we wrote a standalone language instead: * It gives more flexibility and simplicity, regarding both syntax and type system. The compiler can also more easily analyse the AST, because there ar
393.
▲
by
Athas
8y ago
Sure, that's a fine judgment for most applications. That's exactly why high-performance languages (of any kind) necessarily must remain somewhat niche. Although I will point out that the point of this post is exactly to try to mi
394.
▲
by
Athas
8y ago
What if it's a lot more performant ? It's of course always a risk to incorporate another language, but sometimes performance is a critical feature, yet you have no time or inclination to write (say) low-level GPU code by hand.
395.
▲
Designing a Programming Language for the Desert
(futhark-lang.org)
163 points
by
Athas
8y ago
|
25 comments
396.
▲
by
Athas
8y ago
Thanks, I added Scala. It looks like it's common programming style to use semicolons in various places, though.
397.
▲
List of programming languages that do not use semicolons
(sigkill.dk)
4 points
by
Athas
8y ago
|
4 comments
398.
▲
by
Athas
8y ago
Does this mean that memcpy() is really more of a language construct than a library function, since it cannot be implemented correctly in fully defined standard C?
399.
▲
by
Athas
8y ago
Agreed, I am in a similar situation. This is very sad. Also, while OpenCL is a bit verbose to interact with directly, Vulkan compute shaders are much much worse. I realise that at some point I will have to start using it, but I'm no
400.
▲
Diving Beet – A Falling Sand Game Implemented in Futhark
(github.com)
1 points
by
Athas
8y ago
|
0 comments
401.
▲
Futhark 0.5.1 released
(futhark-lang.org)
2 points
by
Athas
8y ago
|
0 comments
402.
▲
by
Athas
8y ago
I used lighttpd before OpenBSD's httpd, and while it is close, it still has far more features and configuration knobs. It's not just about whether things work by default (Apache usually does as well), but whether I fully understa
403.
▲
by
Athas
8y ago
I don't have much to say about this patch in particular, but I want to praise OpenBSD's httpd in general. I'm a hacker, not a systems administrator, and while I know how to set up Unix systems, I'm not an expert, nor do
404.
▲
by
Athas
8y ago
How is Co-dfns not what you want? It is by far the best attempt I know of for bringing the full power of APL to accelerators like GPUs[0]. ...however, it is not easy. Full APL has a lot of features (like nested arrays) that are incredib
405.
▲
by
Athas
8y ago
I felt the same about 4th edition. It was very streamlined and balanced, but everything felt too smooth and consistent (all classes used the same mechanics, for example). 5th edition, on the other hand, is very good. The rules remain sim
406.
▲
by
Athas
8y ago
I agree; defining well-named functions seem a superior solution. In Haskell, it would just be: print (intercalate ", " [1..10]) I don't buy natural-language-ish programming languages. The grammar becomes far too complicated
407.
▲
by
Athas
8y ago
Peer review is necessary and time-consuming, that is true. But I do not believe that requires the need for profit-focused enterprises like Elsevier or the other publishing houses. I don't think any field has come up with a perfect so
408.
▲
by
Athas
9y ago
I like that definition! Not least because it means Futhark qualifies as an array language: i32.product (map (1+) (iota n)). I have also heard the more fundamentalist definition that if you have to say 'map', then it is not an arra
409.
▲
Futhark 0.4.0 released – higher-order functions on the GPU
(futhark-lang.org)
1 points
by
Athas
9y ago
|
0 comments
410.
▲
by
Athas
9y ago
I am using Happy, which is a yacc-alike for Haskell. I found it mostly straightforward (however, I use the OCaml/Haskell/F# style of lexically distinguishing infix operators from variable names).
411.
▲
by
Athas
9y ago
Optimising compilers and compilers for high-level languages tend to have many passes. Mlton is both.
412.
▲
by
Athas
9y ago
This is a very nice wiki. I am implementing an ML dialect myself, and studying the implementation of MLkit, MosML, and Mlton has been very enlightening. I work with the maintainers of the former two, but my compiler has ended up being more
413.
▲
Futhark with Fangs a web RPC front end (sort of) for your GPU
(futhark-lang.org)
3 points
by
Athas
9y ago
|
0 comments
414.
▲
by
Athas
9y ago
In the short run, you are correct. However, by looking at history, it seems that the high-end chip manufacturers always end up being replaced by the low-end manufacturers, as the focus on cheap, small, low-power designs end up providing va
415.
▲
by
Athas
9y ago
SimCorp is the largest industrial user of APL I know of. They even own part of Dyalog. They mostly use APL for business logic written by domain experts (primarily people who studied finance), while infrastructure and GUIs tends to be writ
416.
▲
by
Athas
9y ago
You can "go faster" than memory bandwidth by accessing memory more intelligently (that is, by reducing the amount of memory traffic, possibly by improving cache behaviour). The classic example is loop tiling for matrix multiplica
417.
▲
by
Athas
9y ago
I have been looking at Elm as an example of how to engineer the ergonomics of a functional language, and how far one can come with a focus on simplicity and consistency. Unfortunately, it also looks like it is becoming an example of the pr
418.
▲
by
Athas
9y ago
Does anyone know of a good description of which parts of K's implementation makes it so fast? I have heard the interpreter itself is quite small, and easily fits in L1 CPU cache, which helps of course. Are the primitives further impl
419.
▲
by
Athas
9y ago
Are PE executable files special in Windows, or could this bug have been hit with normal IO?
420.
▲
We Need Fewer Product Managers
(hackernoon.com)
65 points
by
Athas
9y ago
|
31 comments
More ›