Better HN
topnewbestaskshowjobs
Log inSign up

helix278

74 karma · joined Aug 25, 2023 (3y ago) · 60 submissions

Submissions

comment 3mo ago · link · parent

Depends on what you mean by functional language. I was considering main-stream languages that support some form of functional programming. So Rust, F#, C#, Kotlin, Swift, Typescript, etc

comment 3mo ago · link · parent

Superficially, I find the syntax very untuitive to read. Most languages opt to use <> for typevariables. Is there a specific reason you chose to deviate from that and use []?

comment 4mo ago · link · parent

I write all production code by hand, it's the only way I'm sure I know what the code does. Moreover, when the problem space or code base is more complex, it is necessary to keep in touch with reality and test your understanding by writing the code.

I see colleagues using LLMs more and more, and the number of bugs found by QA is increasing dramatically, because the LLM was not thorough enough and the developer (now reviewer I guess) missed the edge cases too because the code, tests and comments looked convincing.

comment 7mo ago · link · parent

> That is not a benchmark result. That is a different way of thinking about how AI models get built.

tiresome

comment 7mo ago · link · parent

I'm always surprised at the high frequency of major typos in titles from HN posts

comment 1y ago · link · parent

Letting the bytes go by

comment 1y ago · link · parent

Ligatures exist

comment 1y ago · link · parent

You make it sound like reducing the big O complexity is a dumb thing to do in research, but this is really the only way to make lasting progress in computer science. Computer architectures become obsolete as hardware changes, but any theoretical advances in the problem space will remain true forever.

comment 1y ago · link · parent

I have had treesitter crashes in the past editing markdown, causing helix to segfault, but the particular bug that caused my crashes has been fixed since years.

10.

First-Order Laziness [pdf](microsoft.com ↗)

1 points · by helix278 · 1y ago · discuss

comment 1y ago · link · parent

Although I'm more of a functional programmer and ADT addict, I still find this language appealing. Reading the manual, it feels like a lot of correct design decision have been made, contrary to languages like C++. Most notably for me: 1) Memory allocation and reference is restricted, leading to less problems with memory management. 2) Syntax is more flexible, allowing for higher levels of abstraction.

comment 1y ago · link · parent

I'm not a compiler dev, but I know that many functional programming languages struggle with this in the same manner if the target platform does not support TCE itself, and therefore require trampolining.

comment 1y ago · link · parent

But entirely definable in user code, so an effect is essentially a set of possibly impure operations you can perform (like I/O or exception throwing), and a function that exhibits that effect has access to those operations. Of course the call sites then also exhibit that effect, unless they provide implementations of the effect operations.

comment 1y ago · link · parent

TCO (tail call optimization) is often confused with TCE (tail call elimination), the latter is a runtime guarantee whereas the former is a compiler's best effort attempt to statically optimize tail calls.

comment 1y ago · link · parent

So cutting edge you wouldn't even need a kitchen knife

comment 1y ago · link · parent

I like that there is plenty of room for comments, and the multiline extension is also cool. The backslash almost looks like what I would write on paper if I wanted to sneak something into the previous line :)

comment 1y ago · link · parent

Quite nice. Though I like texts with exercises better

comment 1y ago · link · parent

You're right, but history has shown that increasing the productivity also leads to increased demand, which is good news as long as humans remain involved for some percentage of the work

comment 1y ago · link · parent

What is the main difference with just?

20.

Notcursus v3.0.10 Released(github.com ↗)

20 points · by helix278 · 2y ago · 7 comments

comment 2y ago · link · parent

Would it be feasible to build a larger application using a language like Factor? I have no experience with concatenative programming, and it seems interesting, but I also get the feeling that larger systems would become rather complex and hard to read.

22.

The .NET Show (2001) [video](youtube.com ↗)

2 points · by helix278 · 2y ago · discuss

comment 2y ago · link · parent

There is a .NET library that also wraps DOT and provides programmability: https://github.com/Rubjerg/Graphviz.NetWrapper

comment 2y ago · link · parent

Very nice. I would like this for Helix, and allow bringing your own config!

comment 2y ago · link · parent

Note that this won't solve all cases. For example, you still have to watch out when merging branches with different submodule commit hashes that you run submodule update while merging.

comment 2y ago · link · parent

You might find this git option helpful: https://git-scm.com/docs/git-config#Documentation/git-config...

comment 2y ago · link · parent

Software Unscripted, by Richard Feldman

comment 2y ago · link · parent

This sounds like a weaker form of algebraic effects, but it is still cool to see such a language and see what you can do with it.

comment 2y ago · link · parent

Wrong thread?
12