Readit News logoReadit News
bakul commented on My Foray into Vlang   kristun.dev/posts/my-fora... · Posted by u/Bogdanp
bakul · 6 days ago
I have used both Go (extensively) and V (not so much). Go's cross compilation, concurrency support, GC & stability are much better than V's. V compiles much much faster in spite of generating C (unless you use clang), plays better with C, its syntax choices seem better (default to const, less onerous error handling, sum types, option type, not relying on Capitalization for exporting etc.), optional GC (though far from perfect), etc. I can see writing an OS in V (but not in Go). I am in two minds about whether it should try to simulate concurrency like Go does (goroutines are coroutines, mapped to system threads only for blocking syscalls) as that might not be the right choice for kernel level code.

V hasn't had the resources or backing that Go continues getting. Most of its work is done by volunteers. AFAIK it hasn't had the benefit of the experience of multiple world class programmers like Go's designers. Good language design also involves leaving out features and that involves discussing or experimenting with such features. IMHO V can use more of that. But so far I like a lot of what I see in V.

bakul commented on Lisp from Nothing, Second Edition   t3x.org/lfn/index.html... · Posted by u/nils-m-holm
vkazanov · 7 days ago
As somebody who read a couple of the author's books, and also somebody who spent almost a decade studying compilers, I am genuinely curious about the author himself.

These works are something I both understand and would never achieve myself. These are cultural artifacts, like deeply personal poetry, made purely for the process of it. Not practically useful, not state of the art, not research level, but... a personal journey?

If the author is reading this... can you share your vision? Motivation?

bakul · 7 days ago
Read the author’s “Raja Yoga Revisited”.
bakul commented on DNA tests are uncovering the true prevalence of incest (2024)   theatlantic.com/health/ar... · Posted by u/georgecmu
bakul · a month ago
I has asked friends who would know more about South India. If you have any references about statistics and causes please share. Thanks!
bakul · a month ago
I found one map that may be interest: https://araingang.medium.com/cousin-marriage-in-south-asia-f...

But note that the article is really talking about first-degree incest/pedophila/sexual abuse which is taboo in pretty much every society.

bakul commented on DNA tests are uncovering the true prevalence of incest (2024)   theatlantic.com/health/ar... · Posted by u/georgecmu
lazide · a month ago
Southern India has particularly low Muslim populations - and definitely doesn’t follow that guidance.

The vedas have many sections which get widely ignored.

Edit: HN throttling is terrible. Here is a link to a couple studies [https://pubmed.ncbi.nlm.nih.gov/32641190/], [https://www.researchgate.net/figure/Trends-in-consanguineous...]

AP has the highest rate, around 28%

bakul · a month ago
I has asked friends who would know more about South India. If you have any references about statistics and causes please share. Thanks!
bakul commented on DNA tests are uncovering the true prevalence of incest (2024)   theatlantic.com/health/ar... · Posted by u/georgecmu
0xcafefood · a month ago
It's extremely common in South Asian communities (https://www.reddit.com/r/interestingasfuck/comments/10yx3va/...). The UK has a large South Asian diaspora.
bakul · a month ago
AFAIK this is far more common in muslims but not in hindus, jains etc. While growing up I had heard/read that as per the Vedas you can not marry someone with whom you have a common ancestor within 7 generations. [My scientifically minded atheist parents agreed with the idea.] Of course, in practice this isn't always followed but in any arranged marriage such proscriptions would presumably be checked.
bakul commented on Use Your Type System   dzombak.com/blog/2025/07/... · Posted by u/ingve
josephg · a month ago
Yep. For this reason, I wish more languages supported bound integers. Eg, rather than saying x: u32, I want to be able to use the type system to constrain x to the range of [0, 10).

This would allow for some nice properties. It would also enable a bunch of small optimisations in our languages that we can't have today. Eg, I could make an integer that must fall within my array bounds. Then I don't need to do bounds checking when I index into my array. It would also allow a lot more peephole optimisations to be made with Option.

Weirdly, rust already kinda supports this within a function thanks to LLVM magic. But it doesn't support it for variables passed between functions.

bakul · a month ago
Pascal had range types such as 0..9 (as of 1970). Subranges could also be defined for any scalar type. Further, array index types were such ranges.
bakul commented on V.S. Naipaul: The Grief and the Glory   granta.com/vs-naipaul-the... · Posted by u/paulpauper
andrewl · 4 months ago
I read Paul Theroux's book Sir Vidia's Shadow many years ago. It was just one person's account and point of view of course, but it was pretty damning as I recall.
bakul · 4 months ago
I've read them both and Naipaul is the much better writer. Perhaps that always rankled. Anyway they "buried the hatchet" in 2011.

https://bookertalk.com/poison-pens-when-writers-friendships-...

bakul commented on Understanding the Origins and the Evolution of Vi and Vim   pikuma.com/blog/origins-o... · Posted by u/amosjyng
Animats · 5 months ago
The ancestor of all those full screen terminal editors is the RAND editor, which was on Unix around 1974.[1] Few people outside the DoD research community saw it, because it wasn't free and only worked on some terminals. Functions were triggered by dedicated function keys, not key combos or a command line, and it was customary to use something with 8 to 10 function keys, such as the HP2645A. You could split the screen, edit two files, and do cut and paste. Way ahead of its time.

[1] https://www.rand.org/content/dam/rand/pubs/reports/2008/R217...

[2] https://terminals-wiki.org/wiki/index.php/HP_2645A

bakul · 5 months ago
I used the rand editor in early 80s & loved its “infinite” quarter plane model. Dave Yost enhanced it quite a bit and called it the Grand editor. But it was hard to maintain as it relied on K&R C. Eventually I gave up and went back to vi.
bakul commented on Porting Tailscale to Plan 9   tailscale.com/blog/plan9-... · Posted by u/adriangrigore
rsc · 5 months ago
Not sure what the betrayal is? He contributed a quote for yesterday's post. https://tailscale.com/blog/tailscale-enterprise-plan-9-suppo...
bakul · 5 months ago
from the above post:

  > April 1, 1999
  >
  > FOR IMMEDIATE RELEASE
Forward to the past?

bakul commented on British tourist detained by US authorities for 10 days over visa issue   theguardian.com/uk-news/2... · Posted by u/n1b0m
chasil · 6 months ago
I've never had anything to do with foreign exchange students, but are they absolutely prohibited from work of any kind?

If there is ambiguity, then we can't have them here.

bakul · 6 months ago
She was on a tourist visa. She should have gotten a J-1 visa who can do 20 hours/week part time work with some constraints. Some details about this visa: https://yfuusa.org/2024/05/16/j1-student-visa/

u/bakul

KarmaCake day635July 29, 2013View Original