Comments (6)
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.
On my machine a mvn clean test
runs ok (it depends on 1.0.0-SNAPSHOT):
@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.
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.
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.
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.
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)
- Finish project setup HOT 13
- GwtIIncompatible annotated io.vavr.collection.JavaConverters.ListView.toArray(U[]) breaks GWT compilation on depending modules HOT 3
- Add a pre-build step in order to mark certain core Vavr methods as @GwtIncompatible HOT 13
- Ensure only javaslang-gwt artifacts are deployed to Maven Central HOT 1
- Any plans to update to the latest vavr version? HOT 7
- Class::isAssignableFrom native java method can't be implemented in GWT
- Last steps making javaslang-gwt deployable HOT 3
- OOME: Java heap space HOT 14
- What version of GWT is required? 2.8? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vavr-gwt.