HNHacker News
TopNewBestAskShowJobs

hyperswine

30 karma · joined September 11, 2022

submissionscomments
hyperswine··on Low Cost Robot Arm
wow, thats really amazing. Are you a hardware engineer?
hyperswine··on GitHub Disabled the Xz Repo
One hell of a social engineering attack
hyperswine··on Niklaus Wirth has died
Will be missed.
hyperswine··on Ask HN: Anything done with hardware-software codesign?
do you happen to know any?
hyperswine··on Ask HN: Which is the most useful CS/math topic that you have learnt?
systems programming and HDL are quite enlightening, though bordering EE. Really gets deep into how computers work and what they really are, so you are not just dealing with a compiler black box on a high level language. Being able to understand and write your own device driver is great

for maths, I think being able to quickly read binary and hex or at least quickly gauge the magnitude of a hex number is pretty underappreciated. Multi variate calculus and linear alg was also very useful in general in reasoning about programs especially those involving lists, vecs, matrices, and ML

compilers are great too but I feel like most resources and thinking around it is a bit too focused on parsing and the frontend, not enough on the "essence" of languages and compilers, abstraction, and more recent developments in static analysis other than simple typing

hyperswine··on Programming languages that are “finished”?
StandardML or maybe OCaml
hyperswine··on What will be the second order effects widespread AI?
A functional society
hyperswine··on Ask HN: What would be your “perfect” programming language?
why google if the docs are great and the lang server/IDE actually shows good docs + examples on hover
hyperswine··on Ask HN: What would be your “perfect” programming language?
absolutely
hyperswine··on Ask HN: What would be your “perfect” programming language?
Ruby is quite perfect for simpler, web based kinds of things from my experience. BUt one thing that always puts me off is that `start, do, end` syntax
hyperswine··on Ask HN: What would be your “perfect” programming language?
A bunch of them already show up in languages like rust. Generics are the more ergnomic impl of HKTs and with ownership after you pass an entity it off to another context, you cant use it again, which I guess isnt exactly linear per se
hyperswine··on Ask HN: What would be your “perfect” programming language?
Having the "same syntax but in multiple different contexts" is a good idea in general I feel
hyperswine··on Ask HN: What would be your “perfect” programming language?
Ooh this is something Ive been pondering too. Perhaps a transformer model like GPT but focused primarily on language semantics and such. Especially the point about cognitive load - which I find to be quite undersaid
hyperswine··on Ask HN: What would be your “perfect” programming language?
Hm, Im hearing a lot about REPL and GC
hyperswine··on Ask HN: What would be your “perfect” programming language?
Interesting
hyperswine··on Ask HN: What would be your “perfect” programming language?
Id be fine with delphi if their IDE was available on other systems like linux or mac. I also kinda find fpc a bit verbose and clunky. Something like an elm interface would make sense I think + the points you laid out
hyperswine··on Ask HN: What would be your “perfect” programming language?
I guess you could use arr.for_each() or arr.map()
hyperswine··on Ask HN: What would be your “perfect” programming language?
What specifically about JS do you think you are attracted to most? Maybe the clean syntax and dynamic typing? npm?
hyperswine··on Ask HN: What would be your “perfect” programming language?
I kinda just like using the default os shell with simple cargo run/test/etc. I want to understand why REPL is more and more used, in langs like julia, elixir, etc. Do you guys find it more conveninent or something? I do like elixir playground though
hyperswine··on Ask HN: What would be your “perfect” programming language?
really? Thats the complete opposite of my vision
hyperswine··on Ask HN: What would be your “perfect” programming language?
lol
hyperswine··on Ask HN: What would be your “perfect” programming language?
What kinds of exotic syntax, Lifetime annotations and parameterising impl Trait like in returns? Also thoughts on carbon?
hyperswine··on Ask HN: What would be your “perfect” programming language?
Why not just use elm?
hyperswine··on Ask HN: What would be your “perfect” programming language?
A lot of langs have a std lib namespace (c++, rust for example) where you could just do `use std::fs::*` and write `read_to_string(path)`. Even better if those convienience functions were placed in `std::prelude` so that it would be immediately known to your project namespace.

I do like the idea of a better dev ops system. Maybe with better github workflow integration or a custom git frontend? Then everything would be coupled together a bit tighter with the advantage of an ergonomic, uniform interface to do your devops

hyperswine··on Ask HN: What would be your “perfect” programming language?
I personally hate lisp syntax, maybe im just no used to it or something but the (brackets (and (stuff))) feels a bit weird. Is there a reason why you want lisp syntax specifically?
hyperswine··on Ask HN: What would be your “perfect” programming language?
Can you elaborate on the no higher order functions, and the no modules but namespaces part?
hyperswine··on Ask HN: What would be your “perfect” programming language?
An actual functional lang server that doesnt randomly die on you and tries its best to infer your intent would be nice.

I like that last point too, as copilot I think is going in the right direction with "step 1" of full optimisation. Maybe step 2 would be some AI based optimiser scheme to transform IR into optimal cpu/gpu ISA. Though maybe stability would be a problem

hyperswine··on Ask HN: What would be your “perfect” programming language?
Hm, a weaker type system? I dont really see much of a point in that, though type inference is quite good