Futamura projections of Rails applications
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Ruby
- Sterne
- 119
- Forks
- 36
- Ø Merge
- 14 Std. 21 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
Not sure where the best place is to have discussions on ruby-bench, but I'm exploring ideas related to the railsbench demo contained in this repository and perhaps there may be something worth collaborating or following up on.
Quick start:
curl -sL https://rubys.github.io/roundhouse/browse/ruby.tgz | tar xz
cd ruby
bundle install
make seed assets
BLOG_DB=tmp/blog.sqlite3 bundle exec puma -C config/puma.rb
This is the quintessential Rails blog demo modernized with Tailwind CSS, Turbo Streams, and Action Cable - open multiple windows and make changes and see pages update live. All running as a pure Ruby application (no Rails) which is automatically generated from the original Rails source.
Benchmark results show high requests/second with slightly lower memory usage. Section 3 of this page may be of particular interest. There may be opportunities for more parallelism or optimizations - suggestions welcome.
The Ruby JRuby Was Built to Run provides more background on the Ruby to Ruby transformation and the points made in the post apply equally to MRI CRuby.
Futamura projections describes the overall technique.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der railsbench-Demo mithilfe der aufgeführten Setup-Befehle, überprüfe dann die Benchmark-Ergebnisse, insbesondere Abschnitt 3, sowie den verlinkten Hintergrund zu den Futamura projections. Das Issue definiert keine spezifische Änderung, kein Abnahmekriterium und kein Implementierungsziel; „done“ müsste vor Beginn der Arbeit vereinbart werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ruby
- Bereich
- performance
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100