Readit News logoReadit News
bw86 commented on FreeBSD doesn't have Wi-Fi driver for my old MacBook, so AI built one for me   vladimir.varank.in/notes/... · Posted by u/varankinv
adolph · 19 days ago
Plus zig!

  **Decision**: Use C for kernel interactions, Zig for pure logic only.
https://github.com/narqo/freebsd-brcmfmac/blob/be9b49c1bf942...

bw86 · 19 days ago
https://github.com/narqo/freebsd-brcmfmac/blob/be9b49c1bf942... seems to be the only file written in Zig.

Using an entire additional programming language for 229 lines of code is definitely an interesting choice.

bw86 commented on 15 years later, Microsoft morged my diagram   nvie.com/posts/15-years-l... · Posted by u/cheeaun
jezzamon · 25 days ago
"continvoucly morged" is such a perfect phrase to describe what happened, it's poetic
bw86 · 25 days ago
I am waiting for Raymond Chen to post a "Microspeak: Morged" blog post.
bw86 commented on D Programming Language   dlang.org/... · Posted by u/arcadia_leak
rafaelmn · a month ago
I'm not saying D didn't have nice features - but if D/C#/Java are valid options I'm never picking D - language benefits cannot outweigh the ecosystem/support behind those two. Go picked a niche with backend plumbing and got Google backing to push it through.

Meanwhile look at how popular Zig is getting 2 decades later. Why is that not D ? D also has comp-time and had it for over a decade I think ? Zig proves there's a need that D was in the perfect spot to fill if it did not make the GC decision - and we could have had 2 decades of software written in D instead of C++ :)

bw86 · a month ago
> Why is that not D ?

You never get a second chance at making a good first impression.

I believe that many people that gladly use Rust or Zig or Go nowadays would be quite happy with D if they were willing to give it a fair evaluation. But I still often find people going "D? I would never use a language where the ecosystem is split between different standard libraries"/"D? No thanks, I prefer compilers that are open source" or similar outdated claims. These things have not been true for a long time, but once they are stuck in the heads of the people, it is over. And these claims spread to other people and get stuck there.

If you do not want to use a GC, it is trivial to avoid it and still be able to use a large chunk of the ecosystem. But often avoiding GC at all costs is not even necessary - you mostly want to avoid it in specific spots. Even many games today are written with tasteful usage of GC.

The one thing that really is a fair disadvantage for D is its small community. And the community is small because the community is too small (chicken/egg) and many believe in claims that have not been true for a long time ...

bw86 commented on Claude’s C Compiler vs. GCC   harshanu.space/en/tech/cc... · Posted by u/unchar1
ares623 · a month ago
Did Anthropic release the scaffolding, harnesses, prompts, etc. they used to build their compiler? That would be an even cooler flex to be able to go and say "Here, if you still doubt, run this and build your own! And show us what else you can build using these techniques."
bw86 · a month ago
That would still require someone else to burn 20000$ to try it themselves.
bw86 commented on G Lang – A lightweight interpreter written in D (2.4MB)    · Posted by u/pouyathe
ternaryoperator · a month ago
Yowza! Lines 1566-1637 consist entirely of closing braces. That's 70 closing braces in a row. Beyond the nightmare of maintenance, it's got to be a performance drag on the compilation.
bw86 · a month ago
Almost lisp-like, isn't it?)))))))
bw86 commented on Microsoft is walking back Windows 11's AI overload   windowscentral.com/micros... · Posted by u/jsheard
hparadiz · a month ago
If they actually did this they would vendor lock you into a custom DM after one or two iterations and then anyone not using that DM would be locked out of any real software. It's a Trojan horse.
bw86 · a month ago
It would not make Windows a good project, but it would mean that hardware vendors would have to implement good Linux drivers. It could therefore help all other distributions, too!
bw86 commented on My Gripes with Prolog   buttondown.com/hillelwayn... · Posted by u/azhenley
bw86 · 2 months ago
findall instead of bagof can also help for these cases.

    | ?- findall(A, (tree(A, N), branch(N)), As).

    As = [n,n1]

    yes
See https://lpn.swi-prolog.org/lpnpage.php?pagetype=html&pageid=...

bw86 commented on Show HN: Learn Japanese contextually while browsing   lingoku.ai/learn-japanese... · Posted by u/englishcat
bw86 · 3 months ago
I tried the pronunciation feature, which works less than awesome on my system. I am happy to share that "語彙" is pronounced "chinese letter chinese letter", while for "効果的" it is "chinese letter chinese letter chinese letter".

Is that just my Debian/Firefox system? Or is "AI slop" the reason here?

u/bw86

KarmaCake day48June 14, 2023View Original