Hacker News new | past | comments | ask | show | jobs | submit | FraaJad's comments login

If you like higher level languages like C#, you are not going to like Zig, except the surface similarity in syntax.

not liking syntax is not enough reason not to use a language. It takes a few days to get over the unfamiliarity in syntax. concepts are much harder to learn.


If I'm not getting paid to use it, why use a language I don't like.

Syntax is a big deal.

C# looks like Java because Microsoft wanted to court Java devs.

I will admit that I prefer higher level languages since I don't care much for memory management. I just want to build cool things.


What syntax are you looking for? If you want C syntax, D will be the closest (most valid C code is also valid D code). If you want Ruby syntax, there's Crystal. Zig feels more verbose to me. For example, there are no multiline comments and no operator overloading, which kind of got to me when I tried Zig. This is, of course, purely subjective. Some people like the Zig syntax.


D Lang did come up in my research. But it feels like it never took off.


True, but you mentioned Nim earlier, and this is a discussion of Zig, which hasn't even reached a stable release. D is an old, stable language that's still under heavy development. It's used by some companies and is able to support an in-person annual conference. I have no concerns about the code I write today working ten years from now.


There are more similarities in the lower level than you think. Once you start writing structs that use generics to specialize their allocator (as in, for really hands-on memory management), it starts looking similar, much like when you write portable SIMD code, which I should commend Zig for having the API for that is similar to .NET one.


What do you mean not enough reason? It's not your decision.


what is WAF?


Except this plant is in Gujarat, and the distance from the southern most city I could find in Punjab to Dholera, GJ is 1048 km.

https://imgur.com/a/HaN5Qb7


Oh ok the fab in Chandigarh had been mentioned


Chandigarh is connected to HP's water system. There are multiple dams just a couple miles away of CH.


yes, indirectly.. likely named after Yakshas themselves - https://en.wikipedia.org/wiki/Yaksha


A major version upgrade.


The bare minimum would be 60 days severance to stave off California's WARN act, isn't it?


No, I believe that it's 90. At least, that's what the class action lawsuit argued.


Yeah, it's Drupal (PHP)


For some reason, I feel that name crops up very frequently in the discussion of sites keeling over to a HN death-hug.


Drupal is a heavy application for sure, but it's also used in a lot of very high-volume places (sometimes in ways that you might not expect - for instance, va.gov is (sorta) built with Drupal. As of a few years ago, all of the NBCUniversal sites were as well). It takes some TLC to get it running properly. The ancient version that this site is running (Drupal 4.6 it looks like - released in 2007) probably just can't handle it.

(full disclosure, I occasionally contribute to Drupal + work/worked on the sites mentioned above)


and no mention of suśruta https://en.wikipedia.org/wiki/Sushruta whose works were copied extensively by Arabs.


Looks like there was a translation of Susrutas book into Arabic. Not sure what citations show "extensive copying".


So much complaint about color schemes. Hitting the Reader View formatted the page beautifully.

I'm thankful it is a simple HTML page that could be easily formatted using browser-built-in tools.


Is there something like a box that you can key in something and it works. Reader view give you text. Also that box?

I lost … perhaps I expect a REPL or … anyway not good to sell CL-webassembly I think.


As it says in the article, stdout is wired to the browser console. So you open your browser console to see it.

It's not meant to be sold, it's just a little toy.


There is also JanetDocs for Janet, which is inspired by Clojure.

[1]: https://janetdocs.com [2]: https://janet-lang.org


Hey thanks for the shoutout!

JanetDocs turned out ok in the end, it's been running on janet for years at this point, no hiccups to speak of really. (Please be nice to the server)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: