Live data from Hacker News

Cyberscript

cyberscript.dev

1–10 of 65 posts

Re: Cyberscript

#3
The benchmarking seems a little bit suspect.

It links to the bench.cy, but nothing explains how the others were measured. It seems that they're including some start-up time in some that dominates, but not explaining whether it's realistic to be needing to spend that.

Re: Cyberscript

#4
My gripe with new languages like this is that strings are always UTF-8 and that makes it needlessly difficult to parse HTTP headers correctly. This has led to vulnerabilities in the past.

Re: Cyberscript

#5
This is by far the most stupid name for a new language imaginable. Shortening it to "cyber" on the landing page too..

When will devs learn that being able to search for a term on the open internet without having it polluted by normal language is kind of important

Re: Cyberscript

#6
post #4

My gripe with new languages like this is that strings are always UTF-8 and that makes it needlessly difficult to parse HTTP headers correctly. This has led to vulnerabilities in the past.

I agree. At this point scripting languages should have native support for string subtypes with custom charsets (ascii/utf16) or just regexp-defined or even ENUM()'erated values.

IIRC historically on Windows, a string was UTF16, on unix it was ASCII; nowadays everywhere it's UTF8 without a way to specifically limit what goes into a string.

For example UTF8 opens the door to homoglyph attacks and various other things (RTL, spaces), and a program should be able to force a string to be ASCII-only so that these classes of problems are ruled out.

Re: Cyberscript

#7

This is by far the most stupid name for a new language imaginable. Shortening it to "cyber" on the landing page too.. When will devs learn that being able to search for a term on the open internet without having it polluted by normal language is kind of important

In the 90s/2000s people also used to shorten cybersex to cyber. I guess if they wanted to have fun with it they could add a "Wanna Cyber?" in place of the usual "Try ".

Re: Cyberscript

#8
post #6
post #4

My gripe with new languages like this is that strings are always UTF-8 and that makes it needlessly difficult to parse HTTP headers correctly. This has led to vulnerabilities in the past.

I agree. At this point scripting languages should have native support for string subtypes with custom charsets (ascii/utf16) or just regexp-defined or even ENUM()'erated values. IIRC historically on Windows, a string was UTF16, on unix it was ASCII; nowadays everywhere it's UTF8 without a way to specifically limit what goes into a string. For example UTF8 opens the door to homoglyph attacks and various other things (…

The NT kernel predates UTF8 by at least 3 years. It originally used UCS2, which covers the basic multilingual plane of the first unicode standard.

Re: Cyberscript

#9
post #7

This is by far the most stupid name for a new language imaginable. Shortening it to "cyber" on the landing page too.. When will devs learn that being able to search for a term on the open internet without having it polluted by normal language is kind of important

In the 90s/2000s people also used to shorten cybersex to cyber. I guess if they wanted to have fun with it they could add a "Wanna Cyber?" in place of the usual "Try ".

It drove me nuts in the cryptocurrency boom that people shortened cryptocurrency to "crypto". As in, "I'm into crypto" or "I work in crypto".

Cryptography is much older than bitcoin.

Re: Cyberscript

#10

This is by far the most stupid name for a new language imaginable. Shortening it to "cyber" on the landing page too.. When will devs learn that being able to search for a term on the open internet without having it polluted by normal language is kind of important

Google's Go has made finding info on the ancient Chinese board game generally referred to in English by its Japanese name Go difficult. This has has interestingly lead to increased use of its original name Weiqi or its Korean name Baduk.
Post reply on HN