Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 08 2018 19:36

    brixen on master

    Recommend ruby-install over bui… Clarity around old ruby-depende… Merge pull request #3 from jack… (compare)

  • Apr 08 2018 19:36
    brixen closed #3
  • Apr 08 2018 19:36
    brixen commented #3
  • Apr 08 2018 19:26
    jackdesert synchronize #3
  • Apr 08 2018 19:17
    jackdesert opened #3
  • Feb 06 2018 13:14

    gitbook[bot] on master

    Updates manuscript/io.md Auto … (compare)

  • Feb 05 2018 19:08

    gitbook[bot] on master

    Updates manuscript/io.md Auto … (compare)

  • Jan 05 2018 17:10

    chuckremes on master

    add notes on how to update prei… (compare)

  • Mar 21 2017 05:00

    brixen on master

    Add note about building with LL… (compare)

  • Nov 22 2016 01:41
    brixen commented #2
  • Nov 21 2016 12:41
    abnud1 edited #2
  • Nov 21 2016 12:41
    abnud1 opened #2
  • Aug 28 2016 03:24

    brixen on master

    Some preface edits. (compare)

  • Aug 27 2016 04:05

    brixen on master

    Fixed typo. (compare)

  • Aug 27 2016 04:04

    brixen on master

    Fixed some preface formatting. (compare)

  • Aug 26 2016 22:06

    brixen on master

    Added dedication and more prefa… (compare)

  • Aug 21 2016 22:03

    brixen on master

    Some edits for Preface. (compare)

  • Aug 21 2016 04:53

    brixen on master

    Updated file naming and ToC. (compare)

  • Aug 20 2016 22:00

    brixen on master

    Updated Leanpub book.txt. (compare)

  • Aug 20 2016 21:56

    brixen on master

    Moved some stragglers. (compare)

Brian Shirai
@brixen
hey @BorjaRobles, to answer your question requires talking about a few different things, so let's see if I can do that
Rubinius doesn't have a global interpreter / vm lock, so in Rubinius, Ruby code can run in parallel if there are CPUs or cores available to it
but there are still places that synchronization is required, so that will force all threads to serialize through that critical section
one of those places is when creating subprocesses (eg fork/exec), and other places involve various parts of IO because Ruby has never clearly defined multi-threaded concurrency behavior
borjarobles
@BorjaRobles
well I dont really know how works selenium on the background
Brian Shirai
@brixen
all these different moving pieces makes it hard to say "Yes" or "No" in a meaningful way
me neither :)
essentially, you'd have to try it and see what sort of parallelism you get, and if it's not what you expect, we'd have to look into where synchronization is occurring and whether that can be reduced (which it's certainly possible that it may be reduced)
Mehmet Aydogdu
@fastengineer
hi
i couldn't find any reference doc or book for learning rubinius
Brian Shirai
@brixen
What are you interested in learning?
Mehmet Aydogdu
@fastengineer
writing like ruby
but fast
small libraries, gems
aolko
@aolko
full book when?
ShalokShalom
@ShalokShalom
hi there :)
this says JIT is implemented, I thought thats still incorrect? https://rubinius.com/about/
Brian Shirai
@brixen
Rubinius had (and will have) a JIT
that about page is historically accurate and doesn't say Rubinius currently has a JIT, but check back tomorrow :)
Brian Shirai
@brixen
@ShalokShalom if you're interested in the new JIT, check out the rubinius/rubinius channel :point_up: May 29, 2019 8:28 PM
aolko
@aolko
Full book when? :mega:
Brian Shirai
@brixen
@aolko could you add to your question? Is there particular info you’re looking for?
ShalokShalom
@ShalokShalom
ah, thanks a lot
what I am interested in: Rubinius treats functions differently as CRuby. Luckily. How does this work with IDEs and stuff?
aolko
@aolko
@brixen have you even read the book?
it's clearly unfinished
and rotting still
Brian Shirai
@brixen
@aolko I’m writing the book, so yes, I know this. 😉 Is there a topic or area you’re especially interested in?
@ShalokShalom CRuby doesn’t have “functions” (they are just methods on modules), but in Rubinius they will be actual functions with lexical scope. I don’t have a good answer on IDEs, but Rubinius is just a lot of Ruby objects (eg you can get Ruby objects for LexicalScope, BlockEnvironment, etc), so I expect an IDE to be able to use Ruby code to get info for eg intellisense like features
aolko
@aolko
using rubinius for language design
i.e. building a language on it
Brian Shirai
@brixen
Ok, cool, that’s my favorite topic! 😄 I’ll see about putting a tutorial together. If you’re curious in the meantime, check out http://atomy-lang.org and http://fancy-lang.org
aolko
@aolko
put it in a "explain like i'm 5" way
and make oop ooptional for it
Brian Shirai
@brixen
Ok cool. Is there an existing language that you are particularly fond of?
aolko
@aolko
and btw:
  • how fast is the result
  • can crystal-like compiled language be expected
    ?
Brian Shirai
@brixen
Cool, yeah, drop all your questions here
aolko
@aolko
i like
  • php
  • delphi
  • vb.net
  • ruby's sugar
  • python's sugar
Brian Shirai
@brixen
Take a look at Atomy and tell me what you think about it
aolko
@aolko
i wanted to make a ruby x php synergy, but it proved to be frustrating
Brian Shirai
@brixen
It’s a very creative language
aolko
@aolko
atomy's site is down
Brian Shirai
@brixen
Huh? I accessed it
aolko
@aolko
i mean, a working synergy that can be plugged in apache/nginx
ERR_CONNECTION_TIMED_OUT for me
Brian Shirai
@brixen
You want an embedded language? Like Lua was embedded in Nginx?
aolko
@aolko
oh and syntax rules should be defined in rule blocks like treetop
@brixen like perl in apache or like php in apache
Brian Shirai
@brixen
Atomy used Evan’s kpeg, and I’ve started adding PEG instructions directly into Rubinius instruction set