Giter Club home page Giter Club logo

Comments (3)

unscriptable avatar unscriptable commented on May 21, 2024 1

Hey Lance,

Funny you should ask! A similar question was just asked on the requirejs google group. :) http://groups.google.com/group/requirejs/browse_thread/thread/9e25322d9ae2be0b

RequireJS runs in more places than curl.js, including WebWorkers and node.js. It's also got more "battle testing" than curl.js, which may mean it has less bugs around edge cases. curl.js is also missing a few important features, such as preloading of implicit dependencies and support for AMD-wrapped commonjs modules. These are both coming in version 0.6 (late next week).

On the plus side, curl.js...

  • is as small as 1/4 the size of RequireJS -- even when bundled with the js! and domReady! plugins it is still less than half the size.
  • is faster at loading modules than RequireJS, but only meaningfully so in IE6-8 or in development (non-build) environments.
  • supports pluggable module loaders for formats other than AMD (we're working on unwrapped CJSM/1.1 and CJSM/2.0, for instance).
  • supports configuration-based dependency management via IOC containers like wire.js (via cram.js).
  • supports inlining of css (via cram.js) and concatenation of css (via cram.js 0.3 by end of year)

If you're thinking of trying curl.js, I recommend you wait until 0.6 in case you're depending on some of the features coming in that release.

Regards,

-- John

from curl.

asilvas avatar asilvas commented on May 21, 2024 1

Where's the "like" button? :)

from curl.

unscriptable avatar unscriptable commented on May 21, 2024

@silvas I know, huh? :)

from curl.

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.