Giter VIP home page Giter VIP logo

Comments (6)

ruslansennov avatar ruslansennov commented on June 2, 2024 1

Would it be worth to automatically extract these from source jars as part of the build process? Then it would be always actual.

I think it s too complicated... In addition to copying, there is still a lot to be changed

from vavr-gwt.

danieldietrich avatar danieldietrich commented on June 2, 2024

On my machine a mvn clean test runs ok (it depends on 1.0.0-SNAPSHOT):

screen shot 2017-12-28 at 17 36 35

@ruslansennov the vavr-gwt/src/main/resources/**/* stuff seems fragile to me. I would suggest to exclude the whole io.vavr.concurrent package from vavr-gwt. Does Multithreading make sense in the GWT part of a Javascript application?

The super.io.vavr.concurrent.FutureImpl seems to be outdated. Do we have to copy/paste the source all the time when we make changes to Vavr's FutureImpl? How do we know which dependencies need to be included as part of the super package for GWT? And how do we know if we can remove dependencies again, when they are not needed anymore?

This all seems a bit fragile to me 🤔

from vavr-gwt.

ruslansennov avatar ruslansennov commented on June 2, 2024

super.io.vavr.concurrent.FutureImpl must have the same signatures as io.vavr.concurrent.FutureImpl. I'll try to fix it soon.

from vavr-gwt.

danieldietrich avatar danieldietrich commented on June 2, 2024

Great, thx!
Would it be worth to automatically extract these from source jars as part of the build process? Then it would be always actual.

from vavr-gwt.

ruslansennov avatar ruslansennov commented on June 2, 2024

Does Multithreading make sense in the GWT part of a Javascript application?

I'm not familiar with js, but I can image an exotic situation when Future is very useful. It could be the implementation of Executor on workers (is it possible?). Future will be still single threaded, but asynchronous.

from vavr-gwt.

danieldietrich avatar danieldietrich commented on June 2, 2024

Yes, Javascript has a notion for async processing. It is Promise in ES6, similar to our Future. In ES7 there is also an async keyword.

from vavr-gwt.

Related Issues (10)

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.