Comments (4)
@lopopolo - Thoughts on difficulty? Medium?
from artichoke.
Medium sounds right. We'll probably want to implement the Ruby-side encoding enum for all possible MRI encodings and have a TryFrom to go into spinoso string encoding.
from artichoke.
Link:
I think this is implemented in spinoso string but needs to be wired up in Artichoke backend.
from artichoke.
Link:
The approach has significantly changed since this ticket got cut. I think the intent here is full encoding parity with MRI, which is why encoding_rs
is mentioned.
Out of scope for this ticket.
from artichoke.
Related Issues (20)
- Time::set_utc doc test uses wrong api HOT 1
- Implement `String#end_with?` and `String#start_with?` in Rust
- `String#==` does not work the same way as MRI expects HOT 11
- `Time::checked_add_f64` and `Time::checked_sub_f64` panic on too large input HOT 2
- `Time::at` fails when when passing kwargs as second argument
- Implement `Time.utc` and `Time.local`
- Tests in `spec-runner/vendor/ruby` are not for MRI 3.1.2 HOT 2
- Build Rust crate for truncating floats to ints aka `RB_FIXABLE`
- Add support for `Regexp` needles to `String#byteindex` HOT 4
- `String#index` and `String#rindex` should return character offsets instead of byte offsets
- Add `byteindex` and `byterindex` methods to `spinoso-string`
- Add support for `Regexp` needles to `String#index` and `String#rindex` HOT 7
- Creating Time with `Time.utc` or `Time.local` should wrap 60 seconds around if not a valid leap second HOT 8
- spinoso-time error enum contains private, unreported types
- Parse difference with MRI for un-parenthesized method calls with an un-bracketed hash argument HOT 1
- scolapasta-path incorrectly mutates verbatim paths on Windows
- MatchData#offset returns byte offset instead of utf8 char offset for utf8 strings
- Dependabot cannot parse `rust-toolchain` file HOT 2
- Evaluate Profile-Guided Optimization (PGO) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artichoke.