Git Product home page Git Product logo

Comments (3)

cemerick avatar cemerick commented on July 2, 2024

Currently leaning towards "just use weasel". It seems to work nicely, websockets are supported in all JS environments that we care about (AFAIK), and it would keep me from having to implement another browser REPL environment :-P This turns Austin into little more than a set of convenience / ease of use utilties, but I'm quite okay with that.

from austin.

 avatar commented on July 2, 2024

I have been looking at Austin actually as an alternative to Weasel, as I seem to have occasional issues with websockets, the Chrome console spits out odd websocket-related errors and so I found myself wondering if Austin was instead using the more stable and old technology of Ajax (xhr). I can't find specific mention of the technique Austin is using and don't have the time to poke through its code just yet. This is not a question or anything other than a comment, that XHR browser repl is a valid need in the clojurescript world since websockets are still relatively new.

from austin.

cemerick avatar cemerick commented on July 2, 2024

Austin's current browser REPL env implementation is based on ClojureScript's "stock" browser REPL, which uses GClosure's CrossPageChannel for transport; this is based on XHR, but has other characteristics (including fallback mechanisms, IIRC) that make it compatible with very old browsers, even IE 6. The problems with it are significant, though, including subtle security context violations in some browsers/applications, as well as hard failures due to certain browsers' installed plugins/addons (see above-linked issues).

I see no reason for Austin's current browser REPL environment implementation to go away, it'll just not be the default anymore. So many others simply have a better experience and fewer problems with websockets, especially if the browsers being used are "modern".

from austin.

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.