e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
meh` has joined #opal
meh` has quit [Quit: I don't want to live on this planet anymore.]
wmnnd has joined #opal
<adambeynon>
elia: what do you think about the operators bracnh
<adambeynon>
branch*
<elia>
lemme check again, but if i remember right it's fine
wmnnd has quit [Ping timeout: 245 seconds]
<elia>
adambeynon, do the $rb_* helper functions be defined in each scope? or just on Opal?
<adambeynon>
elia: ahh yeah, thats what I forgot to check
<adambeynon>
Im not sure if they get inlined if accessed statically
<adambeynon>
brb
<elia>
yeh, that's what I imagined
<elia>
np
<elia>
adambeynon, btw we should have some super js optimization expert at hand to ask such stuff, some twitter personality maybe…
wmnnd has joined #opal
battlebrisket has joined #opal
battlebrisket has left #opal [#opal]
<adambeynon>
elia: another thought I had was that if we are now adding method_missing stubs to Function.prototype, then there isnt really a reason why classes cant just be Function instances
<adambeynon>
I only made them into normal objects so that method_missing worked
<elia>
oh man, that would be cool!
<elia>
adambeynon, we would be nearer to JS that way
<elia>
uhm, let me see, we can "subclass" Function to represent the singleton_class of each class
<elia>
does it make sense (or: is it possible)?
<elia>
tough stuff as usual
<adambeynon>
elia: I keep going back and forth between wanting raw access to js objects and "classes", and thinking wrappers are easier/better
<adambeynon>
RubyMotion keeps spoiling me :(
<elia>
so how it's done in RM?
<adambeynon>
very fast C (or even faster assembly code)
<adambeynon>
could do it in JS
<adambeynon>
just slower
<adambeynon>
if it becomes too slow, then wrappers are the better option
<adambeynon>
as we do now
<adambeynon>
and easier to debug of course
<adambeynon>
I have a couple of thoughts about improvements to Native though
<adambeynon>
to make it easier from that angle
<elia>
in the meantime I think I'm getting accustomed to prototypes
<elia>
> A
<elia>
> A.a = 123
<elia>
> A.constructor
<elia>
> A.constructor.prototype
<elia>
> Bmetaclass = function(){}
<elia>
> Bmetaclass.prototype = A
<elia>
> B = new Bmetaclass
<elia>
> B.a => 123
<elia>
(ditch line 3 and 4)
<elia>
adambeynon, what you mean by doing very fast C/ASM code in JS? :)
<adambeynon>
elia: sorry, I meant we would have to do a similar thing, but we would have to write ours in JavaScript, which would be slow
e_dub has quit [Quit: ZZZzzz…]
davispuh has joined #opal
<elia>
adambeynon, idea, we can have a OptimizedBridge module that lazily exposes native methods via method_missing
<elia>
just saying
lacrosse__ has quit [Ping timeout: 260 seconds]
bcavileer has quit [Write error: Connection reset by peer]
pmarreck has quit [Read error: Connection reset by peer]
pmarreck has joined #opal
bcavileer_ has joined #opal
lacrosse__ has joined #opal
sdegutis has joined #opal
<sdegutis>
Is Opal mature enough to use in production?
sdegutis has left #opal ["Leaving..."]
j_mcnally has joined #opal
j_mcnally has quit [Ping timeout: 255 seconds]
j_mcnally has joined #opal
ceej has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
e_dub has joined #opal
elia has joined #opal
wmnnd has quit [Ping timeout: 246 seconds]
meh` has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
Kilo`byte has quit [*.net *.split]
Kilo`byte has joined #opal
stnly has quit [*.net *.split]
stnly has joined #opal
wmnnd has joined #opal
e_dub has quit [Quit: ZZZzzz…]
wmnnd has quit [Ping timeout: 255 seconds]
e_dub has joined #opal
meh` has quit [Ping timeout: 260 seconds]
j_mcnally has quit [Ping timeout: 240 seconds]
<ceej>
hey, quick question. is it possible to manipulate the dom server side using opal-jquery?
fkchang has joined #opal
elia has joined #opal
<elia>
adambeynon, let me know if you start working on prototypes in runtime so that I can stop messing around on it :)
GitHub161 has joined #opal
<GitHub161>
opal/master 921c640 Elia Schito: Extract common code into setup_module_object