Anonymous
And what about debug
Anonymous
Llnode
Parra
debug is ok
Parra
I'm use to debug so difficult environments so.. it wasn't a problem
Parra
but it's complex too
Parra
i didn't tried llnode
Parra
i debug with valgrind, helgrind and msvc
Parra
in that case
Anonymous
Me too
Anonymous
I use gdb
Parra
well, and gdb too yeah
Parra
to make it embedable
Parra
i had to do crazy things
Parra
i did inversion of control
Anonymous
Inversion of control I never heard
Parra
to transform NAPI from extending api into embedding API
Parra
it's a common pattern in OO
Parra
the thing is I couldn't embed nodejs
Parra
so I had to jump into node internals
Parra
to have access to basic things like env or isolate
Parra
and then return the control to metacall core
Anonymous
And what about benchmark report for api
Parra
in order to have control over nodejs
Anonymous
Did you test
Parra
never
klimi
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ Found DFU: [0483:df11] ver=2200, devnum=6, cfg=1, intf=0, path="1-1", alt=3, name="@Device Feature/0xFFFF0000/01*004 e", serial="3853365F3233" Found DFU: [0483:df11] ver=2200, devnum=6, cfg=1, intf=0, path="1-1", alt=2, name="@OTP Memory /0x1FFF7800/01*512 e,01*016 e", serial="3853365F3233" Found DFU: [0483:df11] ver=2200, devnum=6, cfg=1, intf=0, path="1-1", alt=1, name="@Option Bytes /0x1FFFC000/01*016 e", serial="3853365F3233" Found DFU: [0483:df11] ver=2200, devnum=6, cfg=1, intf=0, path="1-1", alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,07*128Kg", serial="3853365F3233"
klimi
finally :3
Parra
Did you test
I hope nodejs stops being that shit but it's so difficult
Anonymous
Are you the contributor to them
Parra
i think the creator started deno because he realized node was a complete trash
Parra
I made metacall
Anonymous
Meta all?
Parra
metacall is a library that allows you calling functions between languages
Anonymous
Ohhj
Parra
and I transformed nodejs into an embedable runtime
Parra
which nowsdays is impossible
Parra
there is no support for embedding in nodejs
Anonymous
How you get familiar with tools Will you share some experience
Parra
Anonymous
😂😂😂😂
Anonymous
If I need to know it internal how should I get into it
Parra
I have deal with many different projects so at the end you start going faster
Parra
I did the same with other runtimes
Parra
https://github.com/metacall/core/tree/develop/source/loaders
Parra
but nodejs was the most hacky
Parra
because it's extremely limited
Parra
and bad designed
Anonymous
I need to create a issue I guess
Xern
i am preparing for interviews help me
Anonymous
@parra how did you crack js code api
Anonymous
Example stream and until api
Anonymous
Util api
Xern
for c and c++
Parra
i can explain the whole process
Parra
but I will make an article soon
Parra
explaining it
Parra
basically the idea is to expose in some manner the internals of nodejs
Anonymous
I love to hear so even I can get into contributor list 😂
Parra
and also take care of race conditions
Parra
because of eventloop
Anonymous
It use libuv
Parra
I inverted the control over eventloop too, in order to achieve it
Parra
yea, me too
Parra
node uses it
Anonymous
Yeah but how doe it make call still I can't figure out
Anonymous
To that api
Dima
You gotta be a real pervert guy if you want to do so
Dima
Anonymous
I am still figuring out how node use Linux API for even loop
Anonymous
I can't gyp file also
Anonymous
I can't if debug the code
Parra
XD
Parra
mmm
Parra
libuv is really well implemented