Giter VIP home page Giter VIP logo

Comments (6)

hippi777 avatar hippi777 commented on June 12, 2024

hi! :)

what about that ffi stuffs cant be redefined/removed/gc'ed (dunno, but something like :D ) and there is a limit for definitions, and/or this could lead to name collisions also. (ive just read something like this, kinda much back in time on the lj mailing list.)

is that possible to make these smoother? or even use namespaces, gc, manual removing and whatever? ive got no much idea how it works, but i believe that such things are possible, just not implemented, cuz the lack of actual need or cuz performance, but mayb there are technical caveats behind this...

thx for any info! :)

from raptorjit.

lukego avatar lukego commented on June 12, 2024

I wonder if we could use Git to curate a collection of compatible (potentially patched) libraries?

Maybe we could reuse @capr's luapower? Or take inspiration from it at the very least.

Snabb is a bit extreme. For each of our dependencies we import the library and its complete git history using git subtree. This is powerful for two main reasons. First if we find a bug in a library we fix it immediately in our own copy (no workarounds) and we can then asynchronously push that fix upstream. Second when we use tools like git bisect they can see every commit on every dependency to pin-point problems that appear after updates.

I'm sure not every project wants to operate that way al the time but I also think that dependency management in the Git era isn't necessarily like it used to be.

from raptorjit.

tst2005 avatar tst2005 commented on June 12, 2024

I think the luarocks top download can be also a list of targeted module/feature.

from raptorjit.

CapsAdmin avatar CapsAdmin commented on June 12, 2024

I wrote a luasocket ish wrapper around unix sockets for unix and windows. A bit untested though

https://github.com/CapsAdmin/luajitsocket

from raptorjit.

tst2005 avatar tst2005 commented on June 12, 2024

My current goal is just listing existing FFI solution equivalent to usual modules.
I'm open to discuss about FFI but it was not my original goal.

@CapsAdmin that is the kind of info/project I search.

If RaptorJIT drop the Lua C-API, I hope to have an index of existing solution for common needs.

I would like to avoid the following way :

  • I need some missing feature
  • I search to existing solution
  • I found plenty of them
  • I'm lazy or don't have time to test them
  • Often testing all existing solutions spend more time than writing one from scratch
  • I wrote my own, it is better for me
  • There is another alternative now but it is maybe not better for the world. https://xkcd.com/927/

from raptorjit.

tst2005 avatar tst2005 commented on June 12, 2024

I think a better view of usual needs is the dependencies top : https://luarocks.org/stats/dependencies

from raptorjit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.