daviddengcn / gosl Goto Github PK
View Code? Open in Web Editor NEWGo Script Language
License: Apache License 2.0
Go Script Language
License: Apache License 2.0
It might make sense to maintain some small cache of recently run scripts. You could do this by generating a hash of the file contents and using that when you generate the file name to use, if the file already exists, execute it and leave the binary, if not, generate it.
You'd have to decide how many recent files to keep and make sure old entries are cleaned up so that binaries don't end up taking up a lot of space, but you could touch the files and purge least recently used files after some threshold size is reached.
This would be useful for scripts that are run very frequently I think, which is probably a common use case.
As I can figure from this post http://golanghome.com/post/331 , the whole script code is executed in a single go main function, is that true?
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.