ruby
Advent_of_Code_in_Pascal
Our great sponsors
ruby | Advent_of_Code_in_Pascal | |
---|---|---|
181 | 23 | |
21,447 | 8 | |
0.9% | - | |
10.0 | 0.0 | |
1 day ago | over 1 year ago | |
Ruby | Pascal | |
GNU General Public License v3.0 or later | - |
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.
ruby
- Ruby 3.3
-
Tests Everywhere - Ruby
Ruby testing with RSpec
-
YJIT Is the Most Memory-Efficient Ruby JIT
https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md#co...
It just dumps all the JIT-compiled code? I'd expect to see some kind of heuristic or algorithm there... LFU or something.
The internals of a JIT are essentially black magic to me, and I know the people working on YJIT are super talented, so I am sure there is a good reason why they just dump everything instead of the least-frequently used stuff. Maybe the overhead of trying frecency outweighs the gains, maybe they just haven't implemented it yet, or maybe it's just a rarely-reached condition.
Also for a practical tip on YJIT memory usage, note that there is a "--yjit-exec-mem-size" option, see https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md#co... for more details. (This command-line argument is mentioned in the paper https://dl.acm.org/doi/10.1145/3617651.3622982 but not in this blog post about the paper.)
At Heii On-Call https://heiioncall.com/ we use:
ENV RUBY_YJIT_ENABLE=1
Not parent poster and do not have production YJIT experience. =)
My guess is that you would monitor `RubyVM::YJIT.runtime_stats[:code_region_size]` and/or `RubyVM::YJIT.runtime_stats[:code_gc_count]` so that you can get a feel for a reasonable value for your application, as well as know whether or not the "code GC" is running frequently.
https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md#pe...
-
GitHub and Developer Ecosystem Control
Part of the major userbase pull in GitHub revolves around hosting a considerable number of popular projects including Angular, React, Kubernetes, cpython, Ruby, tensorflow, and well even the software that powers this site Forem.
-
Ruby Outperforms C: Breaking the Catch-22
The title is misleading, just like other commenters mentioned. Just check how much indirection "rb_iv_get()" has to make (at the end, it will call [1], which isn't "a light" call). Now, check generated JIT code (in a blog post) for the same action where JIT knows how to shave off unnecessary indirection.
We are comparing apples and oranges here.
[1] https://github.com/ruby/ruby/blob/b635a66e957e4dd3fed83ef1d7...
-
A Tour of CPython Compilation
As with actual spoken languages, programming languages have their own grammar as well. I've you've read any RFCs for networking protocols you may have come across a variation of BackusβNaur form, commonly referred to as BNF. The HTTP protocol uses an augmented version of it for its standard. Other languages such as Ruby may even utilize a grammar file.
-
Everything about this Device is so good but I need to know if there is an easy way to delete duplicated games like almost 10K + is duplicated
It relies on ruby and would be installed with ruby gems: gem install finddups TBH, I've only tested it with macOS. It should work with linux too, but I don't think it will work with windows.
-
Creating a Gem using Ruby C API (part 1)
But do not trust in me, see the repository of language!
Advent_of_Code_in_Pascal
-
Advent of Code 2022
I'm doing it in Lazarus/Free Pascal again.
-
-π- 2021 Day 22 Solutions -π-
Free Pascal - 2251/1744 34.5 seconds runtime No objects, no recursion After brute forcing part 1, I stared at part 2 until I though only handling the different values of X,Y,Z and letting the grid represent variable size cubes.. only to hit memory size limits anyway... and then I learned how to use BITPACKED array, and was able to eventually brute force part 2. Whew!
-
-π- 2021 Day 21 Solutions -π-
Pascal 2235/4609
-
-π- 2021 Day 18 Solutions -π-
Pascal - Github
-
-π- 2021 Day 16 Solutions -π-
Pascal 7079/6330 - github
-
-π- 2021 Day 15 Solutions -π-
Github - https://github.com/mikewarot/Advent_of_Code_in_Pascal/blob/master/2021/advent2021_15b.lpr
- -π- 2021 Day 13 Solutions -π-
-
-π- 2021 Day 9 Solutions -π-
Pascal 2437/6187
-
-π- 2021 Day 8 Solutions -π-
Pascal 3590/5744
- -π- 2021 Day 3 Solutions -π-
What are some alternatives?
CocoaPods - The Cocoa Dependency Manager.
advent-of-code - My solutions for Advent of Code
CPython - The Python programming language
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
yjit - Optimizing JIT compiler built inside CRuby
Ruby on Rails - Ruby on Rails
fastlane - π The easiest way to automate building and releasing your iOS and Android apps
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
mORMot2 - OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
programming-cryptopunks - Crypto Collectibles Book(let) Series. Programming (Crypto) Pixel Punk Profile Pictures & (Generative) Art - Step-by-Step Book / Guide. Inside Unique 24Γ24 Pixel Art on the Blockchain... [UnavailableForLegalReasons - Repository access blocked]