cohesible / synapse Goto Github PK
View Code? Open in Web Editor NEWTypeScript toolchain for developing cloud-based apps
Home Page: https://cohesible.com/synapse
License: Apache License 2.0
TypeScript toolchain for developing cloud-based apps
Home Page: https://cohesible.com/synapse
License: Apache License 2.0
A 100+ MB executable for a simple program is beyond excessive. A lot of unneeded modules are being embedded into the binary. But they could be safely removed if the embedded program never loads additional JS. Which is fairly easy to prove.
This is a rough outline for what sorts of features are being thought about for Synapse. Broader goals like improved error messages, UI tweaks, and bug fixes are not included. They are in no particular order. It's highly unlikely that many of these will be implemented without significant help.
Broader integrations
Richer "buildtime" features
<resource>.foo + 5
Performance
node:*
modulesnode:*
modules to reduce binary size & startup time$SYNAPSE_INSTALL/build
in a forked processwatch
or "daemon" modes to keep more things in memoryUser code optimization
const foo = false; if (foo) { ... }
ECMAScript features
TypeScript features
baseUrl
and paths
resolutionconfigDir
substitutionrootDirs
(need to see more use-cases)tsconfig
in package.json
(need to patch the TS language server with a VFS)Package manager
.npmrc
(partially implemented)Make sure various frontend libraries/frameworks work well
Seamless Zig/TypeScript integration
Improve synapse:*
API
synapse:test
is incompletesynapse:http
is not as web-friendly as it could beBlob
in synapse:srl/*
Enhancements to deploy
git merge
i.e. automatic for simple cases, manual intervention otherwisetest
in a completely separate deployment to improve robustnessdeploy --dry-run
Observing and operating deployed applications
synapse repl
(done but marked internal)synapse show
(done but marked internal)synapse:srl/monitor
?
Implementing all of these things under a single project can quickly lead to a complicated mess, both for users and developers. Our goal is to implement improvements without impeding future progress. Which means:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.