Coder Social home page Coder Social logo

amd compatibility about audiolet HOT 2 OPEN

oampo avatar oampo commented on June 23, 2024
amd compatibility

from audiolet.

Comments (2)

oampo avatar oampo commented on June 23, 2024

I think you can put me in the "not sure" camp on this one.

I like the simplicity of Juicer. I think it's pretty clear which files depend on which others, and I'd say the code organization is about as straightforward as it can be. Also it means that the code is 100% 'normal' JavaScript, with no external dependencies and as little JS funkiness as I can get away with. On the minus side it does need an external tool for building, lazy loading is difficult, and we probably chuck too much stuff into the global namespace.

On balance I'm not sure that the benefits outweigh the costs, but I'm happy to be persuaded if there are real advantages which I've not understood, or if other people feel strongly about this.

from audiolet.

kn0ll avatar kn0ll commented on June 23, 2024

i agree with everything you said. as much as like requirejs, this is the first time i'd suggest a library include it.

my hunch, and i may be wrong, is any non-trivial app using Audiolet will benefit from requirejs. the pros you listed become much more important in large scale. things like lazy loading and namespace management are bigger problems there, and difficult to handle at the moment. on the other hand, smaller apps, one off synths, etc, will benefit from the simplicity of including a single file.

if you agree with that sentiment, and think it would be worth addressing, we could dig deeper into the pros/cons...

somewhat aside, if it helps ease your concerns, i believe you could build the project in a way that a developer would have the option to use individual modules with requirejs, or include a single file utilizing the global namespace (with no external dependency).

from audiolet.

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.