Readit News logoReadit News
preseinger commented on Val, a high-level systems programming language   val-lang.dev/... · Posted by u/cpeterso
dang · 3 years ago
Please don't take HN threads into flamewar. We've already asked you this once and we have to ban accounts that keep doing it.

We detached this subthread from https://news.ycombinator.com/item?id=36779614.

preseinger · 3 years ago
my comment in no way takes the thread into a flame war, and i'm pretty frustrated that it's being judged that way
preseinger commented on Nanosecond timestamp collisions are common   evanjones.ca/nanosecond-c... · Posted by u/ingve
willis936 · 3 years ago
One benefit of keeping it separate is that you can choose the precision of the timestamp necessary. "Millisecond precision" is arbitrary and commonly insufficient.
preseinger · 3 years ago
it's commonly totally sufficient for IDs to represent a rough sort order

millisecond precision is great for a lot of use cases

preseinger commented on Val, a high-level systems programming language   val-lang.dev/... · Posted by u/cpeterso
Tozen · 3 years ago
Nonsensical, including telling someone else which languages starting with the letter "V" can't be on their list.

As for reading the issues and pull request section, just about all languages have them. So everybody must be "blind", especially younger languages. Which comparatively by age, other languages have more issues and worse close ratios.

preseinger · 3 years ago
the point isn't that issues and PRs exist, it's that the maintainers don't seem to know what they're doing

this is self-evident from a cursory review

link me any 3 non-trivial merged PRs and i'm happy to point out the problem i'm describing

preseinger commented on Fly.io Postgres cluster down for 3 days, no word from them about it   webcache.googleuserconten... · Posted by u/burnerbob
TekMol · 3 years ago
And what kind of project do you run which needs up/down scaling and load balancing?

In my experience, for a simple PHP web application, the smallest VMs already can handle a thousand concurrent users, which amounts to something like a million monthly users.

preseinger · 3 years ago
and what does your experience tell you about applications which are not written in PHP, and which need to handle more than 1000 concurrent users?
preseinger commented on Val, a high-level systems programming language   val-lang.dev/... · Posted by u/cpeterso
kazinator · 3 years ago
Code generation is just external macros; it's the same thing in a worse form.

To maintain the code, you have to understand the input language to the code generator and its metaprogramming constructs. You're no better off in that regard.

The grandparent comment is saying that if you don't give people metaprogramming built-in, they will resort to outboard metaprogramming.

I.e. you can't stop people from metaprogramming.

preseinger · 3 years ago
code generators are programs written in an existing programming language, which produce target language source code as output

macros are programs written in a separate, unique, often turing-complete meta-language, which is implemented entirely in the compile phase of the language which supports them

they're in no way equivalent

preseinger commented on Val, a high-level systems programming language   val-lang.dev/... · Posted by u/cpeterso
rcxdude · 3 years ago
My experience suggests otherwise. If the appropriate facilities don't exist in a language, users will resort to code generation.
preseinger · 3 years ago
usually, code generation is preferable to metaprogramming, mostly because it is easier to understand and maintain

Dead Comment

preseinger commented on Val, a high-level systems programming language   val-lang.dev/... · Posted by u/cpeterso
rcxdude · 3 years ago
in most compiled languages you need something like them to get fully featured metaprogramming. It's not necessarily a case of liking them so much as they often become the best option. (note that C macros are a terrible implementation of macros, and yet despite that and the C++ committee hating them with a passion they are still often the only way to do certain things in C++, because the C++ committee has not sought to make better macros but attempt to extend other language features to accommodate some of their use cases.).
preseinger · 3 years ago
metaprogramming is not a virtue

programming languages do not themselves need to be programmable

Dead Comment

preseinger commented on Easy HTTPS for your private networks   getlocalcert.net/... · Posted by u/8organicbits
mgaunard · 3 years ago
Have you never been to a datacenter?

They require your fingerprints for entry and everything is heavily monitored.

You can even get a stealthy cage if you don't want anyone to be able to see what kind of network equipment you have.

preseinger · 3 years ago
and a government warrant bypasses all of that

there was this whole thing with edward snowden a few years ago, maybe you remember?

u/preseinger

KarmaCake day615October 11, 2021View Original