Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
akkad33
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
akkad33
1y ago
> Maybe some day I’ll have the brain cells and skill to write code in zig and be confident I’m Not introducing a whole class of gnarly bugs, but it seems like I should just focus my limited brain power on writing high Llms solve this pro
92.
▲
by
akkad33
1y ago
What are the issues
93.
▲
by
akkad33
1y ago
Ocaml does it fast
94.
▲
by
akkad33
1y ago
> my editor will offer some field or function that looks like what I want (and is what I'm typing to see if it will autocomplete) but once I select it it complains that there's no such field or function Are you using copilot?
95.
▲
by
akkad33
1y ago
Reads like an AI written linkedin post
96.
▲
by
akkad33
1y ago
It's a camera, not a car
97.
▲
by
akkad33
1y ago
I don't know OCAML well but I think this is referring to the fact that modules on OCAML can be generic. In f# there is no HKTs that is types that can be parameterised with type classes. So in F# you have to have List.map, option.map et
98.
▲
by
akkad33
1y ago
All of these examples look weird and unreadable to me. Rust borrows from decades of ML language syntax. I don't think that can go wrong. Not sure where the Zig choices come from but they seem to be there just to look "different&qu
99.
▲
by
akkad33
1y ago
> No, you assumed that Zig and C++ are equivalent and concluded that they'll follow a similar trajectory. It's your premise that's unjustified. They did not say Zig and C++ are equivalent
100.
▲
Ask HN: Transition from back end to programming language research
1 points
by
akkad33
1y ago
|
0 comments
101.
▲
by
akkad33
1y ago
I didn't find it distracting. Why you?
102.
▲
by
akkad33
1y ago
I guess vscode is convenient and I don't want to spend the rest of my life configuring vim
103.
▲
by
akkad33
1y ago
> Records have built in equality logic, Classes don't. I'm aware of this but i feel this is confusing. Just putting () changes semantics a whole lot > Also, just minor pedantic comment, both C# and F# will monomorphize for s
104.
▲
by
akkad33
1y ago
One thing I would say is if you're writing a normal Rust application or library and do not care about c interoperability, you could get by without being aware of anything other than the first 2 types. However in Fsharp you are forced t
105.
▲
by
akkad33
1y ago
> struct Foo { x: f64, y: f64 } // Struct struct Foo(f64, f64) // Tuple Struct let f = (1.0, 2.0) // Tuple enum U { Foo(f64, f64) } &#
106.
▲
by
akkad33
1y ago
Yeah those examples I gave are not the best. But why records and classes when records can also have methods. What I was getting at was the language looks good until you dive deeper and get into all those rough edges of dotnet interoperabili
107.
▲
by
akkad33
1y ago
> NET has spoiled me so badly with C#, NuGet, and the debugger that I just don't have the patience for any other languages with their half-assed build systems, janky package managers, and after-thought debuggers. Rust and cargo are
108.
▲
by
akkad33
1y ago
F# has exceptions though
109.
▲
by
akkad33
1y ago
F# is a chimera of a language. The functional parts of the language are nicely designed: no nulls, discriminated unions (ADTs), you write simple functions in simple modules and there is nothing that is too clever to understand: it's ve
110.
▲
by
akkad33
1y ago
Not only. I don't want to use Microsoft technologies unless forced to or no better alternatives (GitHub/ vscode)
111.
▲
Simple Programming Languages
(ryanbrewer.dev)
3 points
by
akkad33
1y ago
|
0 comments
112.
▲
Explicit tail call optimization in Rust on nightly merged
(github.com)
1 points
by
akkad33
1y ago
|
0 comments
113.
▲
by
akkad33
1y ago
> The first myth is "Python is not slow" - it is debunked, it is slow This is strange. Most people in programming community know python is slow. If it has any reputation, it's that it is quite slow
114.
▲
by
akkad33
1y ago
Why is it irritating? Maybe good thought for self reflection
115.
▲
by
akkad33
1y ago
For me it's been the opposite. They take on a condescending tone sometimes and sometimes they sound too salesy and trump up their suggestions
116.
▲
by
akkad33
1y ago
But this is not very relevant to the release announcement?
117.
▲
by
akkad33
1y ago
Rust macros are hard for me to use and understand. It makes my ide go berserk and all the curly brackets and indentation make them hard to write
118.
▲
by
akkad33
1y ago
> Uses predicates rather than declarative types. Could you explain what predicates are? I've never seen the concept of predicates put forth as an alternative to types
119.
▲
by
akkad33
1y ago
I think Julia is kind of simple in the sense that it has this idea that every function you write is automatically generic and the compiler infers the generic bounds by looking at the function implementation. A typed language that does somet
120.
▲
Ask HN: Is there a language that is simple and empowers developer productivity?
3 points
by
akkad33
1y ago
|
11 comments
More ›