once_self_cell VS fluent.js

Compare once_self_cell vs fluent.js and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
once_self_cell fluent.js
9 18
226 893
- 1.0%
6.8 6.7
3 days ago about 1 month ago
Rust JavaScript
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

once_self_cell

Posts with mentions or reviews of once_self_cell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-11.
  • Ouroboros is also unsound
    3 projects | /r/rust | 11 Jun 2023
    This issue says "Migrate code to use self_cell instead." That page says "It has undergone community code review from experienced Rust users." Looking at the review, issues were found and fixed earlier on, but my interpretation of the end of the thread is more that folks stopped responding with concerns, so confidence is now assumed but still not proven. The same was true of most (all?) other crates trying to solve the same problem, until enough people did find the unsoundness holes unique to each crate.
  • Announcing self_cell version 1.0
    2 projects | /r/rust | 29 May 2023
    I've come across the zip example bevor, and even considered adding support for mutable access to the owner here https://github.com/Voultapher/self_cell/pull/36. See the last comment why I decided not to pursue this. Looking at the specific example, really what is the purpose of storing the lazy ZipReader result? IMO that's bit of bad design on the part of the zip crate. The stdlib APIs consume reader, allowing you to abstract over creation logic. If what you need to store, needs further pre-processing, why not pull that out? Specifically here, what is the point of having a self-referential struct that contains an owner ZipArchive that you will no longer be allowed to mutate. And a lazy reader ZipReader that you can then use to really read the file? If you need to abstract over the construction logic you could return (ZipArchive, Box ZipReader>), if you want to return the content you can return (ZipArchive, Vec) allowing further use of ZipArchive.
  • Unsoundness in owning_ref
    10 projects | /r/rust | 26 Jan 2022
    As the author of self_cell I can attest, that writing unsafe lifetime abstractions is exceedingly tricky and you will get it wrong, repeatedly. I'm not sure these problems in owning_ref can be solved without a serious overhaul of the API. For one it tracks too little information, both ouroboros and self_cell independently reached the conclusion that you have to mark the dependent as either covariant or not_covariant over the owner lifetime, and prohibit ever leaking direct references if the dependent is not_covariant. But the fun doesn't stop there, if the owner can have a lifetime too, things get extra tricky. If you want to dive deeper take a look at this discussion https://github.com/Voultapher/self_cell/pull/29.
  • My experience crafting an interpreter with Rust
    2 projects | /r/rust | 22 Jul 2021
    Grouping the source and derived AST in the same struct without leaking the lifetime is something that greatly helped keep the API sane. Shameless plug https://github.com/Voultapher/self_cell
  • Safe-to-use proc-macro-free self-referential structs in stable Rust.
    4 projects | /r/rust | 13 Mar 2021
    Thanks, I'll incorporate that into https://github.com/Voultapher/once_self_cell/issues/5

fluent.js

Posts with mentions or reviews of fluent.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-10.
  • Internationalize TypeScript app
    1 project | /r/node | 26 Apr 2023
    Want to quick internationalize your app? You can use com.hydroper.ftl from NPM, which uses Fluent. Should work for browser (if you use Webpack targetting "browser") and NodeJS. It uses Intl from ECMA-402 and @fluent/bundle.
  • FTL loader
    1 project | /r/rust | 8 Mar 2023
    Fluent is a localization system with more flexibility for translators. FTL means to Fluent Translation List. It seems to refer to the syntax used to define resources, which are (roughly) collections of messages.
  • Requesting feedback on a string interpolation concept
    1 project | /r/ProgrammingLanguages | 21 Dec 2022
  • Questions about a translation system
    1 project | /r/rust | 4 Dec 2022
    In general though, translation is very hard. There are more exceptions than rules, and a lot of work has gone into the libraries to support all languages. consider using something like https://projectfluent.org/ if this isn't just a learning exercise.
  • l10n: A proc macros crate to ease project localization and provide compile time checks (message exists, mandatory arguments are set, functions are defined) built upon fluent-bundle.
    2 projects | /r/rust | 10 Oct 2022
    Working on a personal project that needed localization I decided to use fluent from Mozilla. It already exists an excellent crate to use fluent in Rust which is fluent-bundle (and others fluent crates) but now that I'm used to "If it compiles, it works" I wanted to have a macro that checked that the "localization messages" I'm using existed and had all the required arguments, not finding what I was looking for I decided to write this crate for my needs and share it with the community.
  • Are there any C++ libraries that provide tools for composing English language sentences?
    3 projects | /r/cpp | 25 Aug 2022
    Even if you're not planning to translate your game into other languages, it might be worth looking into one of the localisation systems. For example, Mozilla's Fluent handles pluralisation, gender, etc..
  • Show HN: Localization and translations should be code, not data
    5 projects | news.ycombinator.com | 5 Jul 2022
    It's a tempting argument. By interviewing hundreds of people a different pattern emerged though. Translators don't know how to code. Some companies manually removed quotation marks (") from strings because they confused translators.

    What do you think about Mozilla's Fluent format/syntax https://projectfluent.org/?

    BTW feel free to reach out via email to me. Look at my profile to find it.

  • I18N in the Multiverse of Formats
    5 projects | dev.to | 17 Feb 2022
    The last format in this multiverse trip is Fluent a Mozilla project. The Fluent format shares a lot of philosophy that drove the design of ICU Message Format.
  • Travelm-Agency Updates (Fluent, Webpack)
    2 projects | /r/elm | 1 Feb 2022
    My Elm code generator for i18n files Travelm-Agency has just reached a critical milestone: supporting all of projectfluents constructs. Yes, that means even locale specific constructs like matching on PluralRules (zero, one, few, many, other) or formatting dates and numbers based on the current locale! As far as I'm aware that is something that no other i18n solution for Elm can do so far.
  • Unsoundness in owning_ref
    10 projects | /r/rust | 26 Jan 2022
    As an example, there is a really good localisation framework called Project Fluent where you write your translatable expressions in a text file that later gets parsed. The resulting parse tree borrows entirely from the original text and doesn't make any allocations other than the occasional Vec for sequences.