Ruby 每周问题 684:2024 年 1 月 4 日

  • Ruby 3.3 Released: Not breaking news but a significant release. IRB's capabilities improved with better debugging and autocompletion. Prism parser included as a default gem. YJIT is faster and more efficient. RJIT JIT compiler added for experimentation. M:N thread scheduler included. Chris Oliver has a 17-minute screencast or check details in the next item.
  • Ruby 3.3's Language Changes in Detail: Victor has been documenting language changes in Ruby for five years. 3.3 gets the same treatment to avoid problems during upgrades.
  • Blue Ridge Ruby 2023 Talks on YouTube: Covers topics like types, machine learning, RSpec's bad parts, and the Coverage module.
  • Interview with Elia Schito of Opal: Ruby-to-JavaScript transpiler project.
  • DragonRuby Game Toolkit Year-End Review: Grew in 2023 and considered the best engine for indie devs.
  • Bloopy & Droopy Nintendo Switch Game: Built on mruby and SFML. Related tech in the RubyConf talk.
  • Rails 8 Possibilities: Not mentioned but Brakeman will be added by default. Amanda Perino reflects on the first year of the Rails Foundation. DHH talks about the role of 'style' in Ruby code and says goodbye to UJS.
  • Articles & Tutorials: Explanation of nested modules in Ruby including accessing nested constants and Module.nesting.
  • Code & Tools:

    • Superglue: An attempt to combine Rails, React and Redux like Hotwire.
    • Extralite 2.4: Faster way to use SQLite from Ruby with improvements like multi-threaded app performance and BLOB binding.
    • sqlite3-ruby 1.7: With full Ruby 3.3 support.
    • Sinatra 3.2: Popular DSL-based webapp library with Ruby 3.3 and Bundler 2.5 compatibility.
    • ActiveType 2.4: Makes Ruby objects act like ActiveRecord.
    • RubyGems 3.5.4: gem update --system respects Ruby version constraints.
    • Business Class 1.3: Commercial Rails SaaS kit with initial Stripe support.
    • Graphs and Charts 0.2: Chart controls for Glimmer DSL for LibUI.
    • HairTrigger 1.1: Manage database triggers in a Rails-y way.
    • SmarterCSV 1.10: Load CSVs as arrays of hashes.
    • Async 2.8: Asynchronous event-driven reactor.
    • parallel_tests 4.4: Faster tests with more cores.
    • Reek 6.2: 'Code smell' detector for Ruby.
阅读 19
0 条评论