esrever

A Unicode-aware string reverser written in JavaScript. (by mathiasbynens)

Esrever Alternatives

Similar projects and alternatives to esrever

  • zig

    816 esrever VS zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • xmake

    🔥 A cross-platform build utility based on Lua

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • quickjs

    Public repository of the QuickJS Javascript Engine.

  • tigerbeetle

    Discontinued A distributed financial accounting database designed for mission critical safety and performance. [Moved to: https://github.com/tigerbeetledb/tigerbeetle] (by coilhq)

  • arocc

    A C compiler written in Zig.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better esrever alternative or higher similarity.

esrever reviews and mentions

Posts with mentions or reviews of esrever. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-20.
  • Zig 0.9.0
    12 projects | news.ycombinator.com | 20 Dec 2021
    > it cannot leave the input data as an undecoded bag of bytes

    But all it's doing here is taking a hex string (which is entirely ASCII) and converting it into the respective hex representation. Since ASCII translates unambiguously to bytes, it doesn't really matter if `str[0]` is operating on a byte stream, codepoint stream or grapheme stream, because in utf8, they're all the same thing as long as we're within the ASCII range.

    Where things get hairy is stuff like `str.reverse()` over arbitrary strings that may or may not be in ASCII. This repo[0] talks about some of the challenges associated with conflating characters with either bytes or codepoints. The problem is that programming languages often approach strings from the wrong angle: you can't just tack on handling of multi-byte codepoints on top of ascii handling; you lose O(1) random access and you don't actually model the linguistic domain properly by doing so, because in the first place, humans think of characters not in terms of bytes or codepoints, but in terms of grapheme clusters. Clustering correctness falls deep in the realm of linguistics, and is therefore arguably more suitable to be handled by a library than a programming language.

    [0] https://github.com/mathiasbynens/esrever

  • Awesome javascript one-liners to look like a pro
    1 project | /r/JSdev | 12 Jun 2021
    Here's a take on the first snippet (string reversal) by Mathias Bynens (Staff engineer at Google): https://github.com/mathiasbynens/esrever . If you read that README you'll quickly realize that readability of the code isn't all that high in the list of priorities: making it work correctly in the first place is actually a huge can of worms!

Stats

Basic esrever repo stats
2
887
0.0
over 2 years ago

mathiasbynens/esrever is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of esrever is JavaScript.

Popular Comparisons


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com