Hi again! I've heard that Forth is implemented using a very small interpreter, which makes it a good language for the embedded domain.
I've also read that Factor has a good optimizing compiler. These two propositions (if true) lead me to the following question for the community. Is there a way to create a very small executable (for Windows) for a very small script? I've tried the deploy-tool on the following example vocabulary: USING: accessors command-line io io.directories io.files.types kernel namespaces sequences ; IN: ls <PRIVATE : list-files-and-dirs ( path -- files dirs ) directory-entries [ type>> +regular-file+ = ] partition ; PRIVATE> : ls ( path -- ) list-files-and-dirs "DIRECTORIES:" write nl "------------" write nl [ name>> write nl ] each nl "FILES:" write nl "------" write nl [ name>> write nl ] each ; : ls-run ( -- ) command-line get first ls ; MAIN: ls-run The resulting simple ls.exe weighs a somewhat disappointing 1.31 Mb. Are there tools or techniques to thrim the excess bloat from the console-only executable? I was hoping for 5 - 50 Kb range of the result. Thank you! ---=====--- Александр ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk