-
• #2
Like that a lot... will speed up communication quite a bit. Have to go back and apply to some of my past code.
-
• #3
Like
Do you think this is working well enough to start using it in some of the IO modules (e.g., nrf24l01p)? I imagine that's where it'll get the most use.
-
• #4
Do you think this is working well enough to start using it in some of the IO modules
Probably not quite yet. First off I'm not sure the Web IDE scans modules for code to compile yet, but also it only handles:
function a() { "compiled"; ... }
and not:
var a = function () { "compiled"; ... }
which tends to be used a lot in modules (especially when doing
A.prototype.b = function() {...}
.But when that's done then yes, it'd be really handy. Using it in some of the display drivers (especially the ones that have to define
fillRect
/setPixel
) would provide some really big improvements.
I've just fixed a few big issues with the online compiler, the main ones being:
this
in function callsYou still can't do stuff like:
So you're a bit limited, but what you can now do is stuff like:
So hopefully it can provide some nice speed improvements where IO is concerned.
I'll update the documentation on it later on.