Comments (1)
Right now, the performance is most likely pretty bad. The transport protocol is JSON, and the server uses the built-in websockets WS server. Even worse, a new WS connection is opened and closed for each server call, which is incredibly wasteful.
Previously, the server used warp's WS implementation, used a binary encoding and reused connections whenever possible, but that was all taken out to simplify the implementation for the paper. The plan is to put all those things back in again, but I haven't gotten around to it yet.
Of course, you can still use warp (or any other web server) to serve up the client parts, since Haste doesn't deal with that part at all unless you're using something like haste-standalone, which also hasn't been ported to the latest version yet.
from haste-compiler.
Related Issues (20)
- JS syntax error caused by inlining HOT 1
- Is Haste supposed/known to work on FreeBSD? HOT 4
- Name conflict in buildStgName HOT 1
- compiler bug involving MVar, Integer, and tuples
- can't load .so/.DLL for: libHSinteger-gmp-0.5.0.0 HOT 2
- Official binaries of 0.5.5.1 HOT 1
- A comprehensive guide on how to contribute?
- examples/canvas/ canvas code sample does not compile (Windows 10, haste v0.6.0.0) HOT 1
- Installation fails with type errors OSX10.13 HOT 5
- Fix for building latest with stack
- problem with installing HOT 1
- Unable to install on OSX -- legacy or new-style cabal install? HOT 2
- Depends on versions that are too old HOT 2
- "Ratio Integer" (from Data.Ratio) uses 32 bit arithmetic instead of Integers
- Haste with STM HOT 1
- Haste with Stack HOT 1
- Build fails on latest ghc HOT 1
- Fail to install haste-compiler
- So this project is dead and shouldn't be used?
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 haste-compiler.