Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vmchale
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
481.
▲
by
vmchale
7y ago
> Why is there such a push to use this new language that's so inaccessible to much of the world? Eh?
482.
▲
by
vmchale
7y ago
rustc and gcc are not the same compiler. Languages are hard to compare...
483.
▲
by
vmchale
7y ago
I think darcs has an algorithm which is not really suited for large repositories with many users contributing. pijul regrettably seems to be broken most of the time, but I don't think it's irredeemable.
484.
▲
by
vmchale
7y ago
> There were/are slightly less confusing version control systems (mercurial) but they didn't catch on for whatever reason. Also (sorta) darcs, and hopefully pijul. I sincerely hope some patch-based version control can catch o
485.
▲
by
vmchale
7y ago
> Do you mean passing a struct from e.g. clap 2 into clap 3? Yeah that won't work directly, nor should it in my opinion. I agree! But it shouldn't fail at compile time with a vexing error message. It should fail to resolve depe
486.
▲
by
vmchale
7y ago
> The second biggest flaw is that it couples package management to a programming language, despite those being almost completely unrelated concerns. Yes it's frustrating. I wish it was more decoupled, maybe with package standards li
487.
▲
by
vmchale
7y ago
> Many businesses these days seem to be geared toward making a quick buck, rather than really providing any value. Seems like an American thing, in part.
488.
▲
by
vmchale
7y ago
> every package gets its own copy of its dependencies. Not sure if Rust does that. It does something halfway in between, which is still a security liability.
489.
▲
by
vmchale
7y ago
It's not as bad as cabal back in the day. Nonetheless I have run into the diamond dependency problem in practice. Their solution is unprincipled and there's no way to turn off the default behavior.
490.
▲
by
vmchale
7y ago
IMO the main problem with Rust is that it's tied to cargo, which tries to link in multiple versions of the same crate.
491.
▲
by
vmchale
7y ago
The npm dependency model is a nightmare. All the more shameful given that it's backed by a for-profit entity that charges its users.
492.
▲
by
vmchale
7y ago
It's unfortunate that Rust is so tied to cargo, and unfortunate that cargo insists on allowing multiple versions of a dependency. If you point out that cargo is poorly designed everyone just yells and you and says you don't unders
493.
▲
by
vmchale
7y ago
> it appears that no-one takes this threat seriously, not even in secure/financial apps. I think that's pretty standard for our industry, even outside the often comically lazy world of JS.
494.
▲
by
vmchale
7y ago
> Nobody except me seems to see a problem there, despite me being able to point out specific security incidents. The npm model is a shitshow (multiple versions of one dependency). People defend it for obviously self-interested or lazy re
495.
▲
by
vmchale
7y ago
I think a lot of the world hasn't heard of Dhall ( https://dhall-lang.org/ ) but could make good use of it. It's a sensible configuration language with types. And the Haskell integration is quite good.
496.
▲
by
vmchale
7y ago
I'm currently experimenting with Futhark. It's a ML-style functional language that targets the GPU. It has nice Python/NumPy bindings so it's pretty easy to offload some computations. There's also accelerate althoug
497.
▲
by
vmchale
7y ago
What of lzip?
498.
▲
by
vmchale
7y ago
> option chaining Where'd that come from? I thought that was monadic-do from Haskell.
499.
▲
by
vmchale
7y ago
> wouldn't iterators and generators be enough for implementing laziness? If you can implement lazy finger trees with iterators I'd love to see it :)
500.
▲
by
vmchale
7y ago
> All the iterator types for example are lazy, It's not proper laziness as defined in Okasaki's thesis/book. One needs more complex things like lazy finger trees.
501.
▲
by
vmchale
7y ago
None are lazy, however.
502.
▲
by
vmchale
7y ago
GPUs are SIMD
503.
▲
by
vmchale
7y ago
Well, it doesn't have the runtime to support laziness properly.
504.
▲
by
vmchale
7y ago
> it's prioritization of backwards compatibility over keeping complexity low. There are other languages on less-shaky foundations, but people don't use them for various legitimate and illegitimate reasons.
505.
▲
by
vmchale
7y ago
> If only C had the same kind of pressure. ATS :p
506.
▲
by
vmchale
7y ago
Functional programming seems to be taking on the world (J inspiring NumPy, ML features being used everywhere).
507.
▲
by
vmchale
7y ago
> all languages are just copying each other at this point. I know C++ hates to be left out of anything so maybe this is appropriate, but to me its really destroying the ecosystem. It was great to have different languages having different
508.
▲
by
vmchale
7y ago
There are other anti-nausea drugs lol. Maybe it's useful if nothing else works but come on.
509.
▲
by
vmchale
7y ago
I don't think Psilocybin mushrooms or LSD are used as a club drug.
510.
▲
by
vmchale
7y ago
Neat! I love FFI and I love functional programming.
More ›