-
Notifications
You must be signed in to change notification settings - Fork 52
Conversation
531ecc1
to
544f489
Compare
Note that the failing test is also failing in master. You may have fixed it already in #5. |
I went ahead and implemented Since it was the last thing remaining, I think that this PR should be ready to merge. Let me know 😄 |
I reverted the snakecase bindings on |
@arcanis This is really cool. We have a few questions for you:
Overall, we really want this feature, but the template meta-programming in |
|
Hey @arcanis. Good answers. @maxbrunsfeld and myself both have overlapping vacations until the end of next week. When we return we will investigate this a bit more and proceed. Just wanted to let you know this could sit for a few days but we haven't forgotten about it. |
No worry, thanks for the heads-up :) |
…e lower than *data)
00f5e54
to
95d7918
Compare
@nathansobo Have you had the chance to review this? |
We've gotten pulled off to more reactive topics. I'll talk to @maxbrunsfeld about it this week. |
Emscripten adds a .delete method to every bridged class which calls the c++ destructor.
We'll remove usages of these in TextBuffer
Hey @arcanis. As you can see we're pushing some adjustments to your branch. We plan to drop reliance on the legacy |
Thanks so much for figuring this all out, @arcanis. I'll publish a new version of this module shortly and make the necessary changes in |
❤️ Thanks for the contribution. |
Here and back again 😃
This is a followup to atom/text-buffer#183 and atom-archive/buffer-offset-index#2
This PR adds asm.js support to this library through embind (instead of nbind). I've tried to keep changes as minimal as possible in the core. Everything tested is supported.
Possibly breaking changes:
master...arcanis:master#diff-959292f9667b4cf4919bbae193a31523L57
(returning sometimes an array and sometimes an object was causing unnecessary complications)
master...arcanis:master#diff-e5c4747c80e4a1872cde8e24121784c0L9
(inheriting instead of typedefing allows me to write more stable template overloads)
master...arcanis:master#diff-ae762b481da801d5c00c8c9e5890f6e9L148
(Buffer aren't supported under browser environments)
... and of course the
delete()
method (which has been polyfilled as a noop inside the v8 bindings).All the tests are currently passing,
except for.Patch.compose
that I have not yet been able to implement. Even if it is technically supported, the embind library has safety checks that cannot be disabled (but should, cf emscripten-core/emscripten#4863) that make it hard to support vectors of objectsWDYT?