Cyberscript

(cyberscript.dev)

10 points | by dtj1123 4 hours ago ago

8 comments

  • SchizoDuckie 25 minutes ago

    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

    • tjpnz 16 minutes ago

      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 <x>".

      • josephg 3 minutes ago

        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.

  • tosti 27 minutes ago

    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.

    • bflesch 20 minutes ago

      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.

      • tosti 5 minutes ago

        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.

  • eterm 31 minutes ago

    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.

  • als0 an hour ago

    Seems to be in the same category as Lua. Can a PL nerd explain what's different about it?