啥是尾递归优化? — SOF复制粘贴系列 🌚
https://stackoverflow.com/questions/310974/what-is-tail-call-optimization
https://stackoverflow.com/questions/310974/what-is-tail-call-optimization
Stack Overflow
What is tail call optimization?
Very simply, what is tail-call optimization?
More specifically, what are some small code snippets where it could be applied, and where not, with an explanation of why?
More specifically, what are some small code snippets where it could be applied, and where not, with an explanation of why?
duangsuse::Echo
一个不错的, 拿Java写的ECMAScript(js)实现 https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Overview 可惜我开始给Dropage设计的脚本扩展系统是基于BeanShell的( 🙈
然并暖. Dropage已经停止开发了:/ 所以我的设计要放到GeekApk上写( 🙈
(https://rosettacode.org
Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible
Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible
Forwarded from Deleted Account
Amazon
Amazon S3 Glacier 儲存類別 | AWS
適用於資料封存的長期、安全、耐用 Amazon S3 物件儲存類別,價格每月每 TB 只要 1 USD 起。
Forwarded from 五黄鼠的毛绒绒实验室 (LabRat)
五黄鼠的毛绒绒实验室
看到新闻里面说, WPA2 挂掉了的样子。 那样以后很多不更新技术的公共 WiFi 会不会就变得很容易破解呐?想要加固自家的 WiFi 的话,又有什么好方法呢? Reply
感觉世界崩坏了( 1. WPA2能被破解? 2.身边都是WPA(2), 是不是我以后到哪都蹭别人网? 进内网以后干坏坏的事? 🙈
ACL2 https://www.cs.utexas.edu/users/moore/acl2
Ada https://www.adaic.org/
Agena https://agena.sourceforge.net/
ALGOL 68 https://en.wikipedia.org/wiki/Algol68
ATS https://www.ats-lang.org/
AutoHotkey https://ahkscript.org/
AutoIt
AWK
Axe
BASIC
BaCon
Applesoft BASIC
Commodore BASIC
BASIC256
Batch File
BBC BASIC
beeswax
Bracmat
Brainfuck
C : GCC(https://gcc.gnu.org) LLVM(llvm.org) TCC(https://bellard.org/tcc) PCC(https://pcc.ludd.ltu.se/) SDCC(https://sdcc.sourceforge.net/) VisualC++ Openwacom(https://openwatcom.org)
C# https://docs.microsoft.com/dotnet/csharp/language-reference : .NET, Mono(https://mono-project.com)
C++ https://isocpp.org
Clipper https://www.grafxsoft.com/clipper.htm
Clojure https://clojure.org
COBOL
CoffeeScript https://coffeescript.org
Common Lisp
Creative Basic
D https://dlang.org
Déjà Vu
Delphi https://www.delphi.com
DWScript
Dylan.NET https://dylandotnet.codeplex.com
EchoLisp
Elena
Elixir https://elixir-lang.org
Emacs Lisp https://www.gnu.org/software/emacs/manual/html_node/elisp
Erlang https://www.erlang.org
ERRE
Euphoria
F# https://fsharp.org
Factor
Falcon
Fantom
FOCAL
Forth
Fortran https://en.wikipedia.org/wiki/Fortran : Gfortran(https://gcc.gnu.org/wiki/GFortran)
FreeBASIC
Frink
gecho
GML
Go https://golang.org
Groovy https://www.groovy-lang.org
GUISS
Harbour
Haskell https://www.haskell.org
Icon and Unicon
HolyC
Io
IWBASIC
J
Jack
Java https://www.java.com
JavaScript(ECMAScript) : Rhino, Node, JavaScriptCore, Nitro, JScript, QtScript, SpiderMonkey, TraceMonkey, JägerMonkey, V8, ChakraCore, Chakra, JScript .NET, Nashorn | ActionScript, Caja, asm.js, JScript, JScript .NET, QtScript, TypeScript, WMLScript
jq
Julia https://julialang.org
Kotlin https://kotlinlang.org
Lasso
LFE
Liberty BASIC
Limbo
Logtalk
Lua https://www.lua.org
m4 https://www.gnu.org/software/m4/m4.html
Maple
Mathematica / Wolfram Language
MATLAB / Octave https://mathworks.com/products/matlab https://www.gnu.org/software/octave
mIRC Scripting Language
ML/I
Nemerle
NetRexx
NewLISP
Nim https://nim-lang.org
Oberon-2
Objeck
OCaml https://ocaml.org
Oforth
OOC
Oxygene
Panoramic
PARI/GP
Pascal
PASM (ParrotVM Assembly) https://parrot.org
Perl https://www.perl.org
Perl 6 https://perl6.org
Phix
PHL
PHP https://www.zend.com
PicoLisp
Pict
PL/I
PowerShell https://powershell.org
PureBasic
Python https://python.org | Boo https://boo-lang.org , IPython https://ipython.org
Ra
Racket https://racket-lang.org
REBOL
Red
Retro
REXX
Ring
Ruby https://ruby-lang.org : JRuby(https://jruby.org), Mruby(https://mruby.org), Rubinius(https://rubini.us), IronRuby(https://www.ironruby.net), Cardinal(https://github.com/parrot/cardinal), MagLev(https://ruby.gemstone.com)
Run BASIC
Rust https://rust-lang.org
Salmon
Scala https://scala-lang.org
Scilab
Scheme | PLT Scheme, Chez Scheme https://scheme.com , Petie Scheme
Seed7
SETL
Sidef
Smalltalk
Standard ML
Swift
Tcl
Transact-SQL
TUSCRIPT
TXR
UNIX Shell | Csh, Tcsh, Bash https://www.gnu.org/software/bash , Zsh https://zsh.org , Fish https://fishshell.com, Sh, Elvish https://mirror.tuna.tsinghua.edu.cn/elvish , Dash https://wiki.archlinux.org/index.php/Dash
Ursa
Vim Script
Web 68
Wren
XLISP
XPL0
zkl
ZX Spectrum Basic
MSIL (.NET Core CLR) https://en.wikipedia.org/wiki/Common_Intermediate_Language
Java bytecode < teavm.org(bytecode2js) : HotSpot, KVM, OpenJDK https://openjdk.java.net , Maxine VM, Excelsior JET, JamVM https://jamvm.sourceforge.net , Jikes RVM, IBM J9, Dalvik https://source.android.com/devices/tech/dalvik/index.html , IcedTea, JX. https://en.wikipedia.org/wiki/Java_virtual_machine
MoonScript https://moonscript.org
Lua VM Instructions : Moonshinejs, NekoVM, Lulu, LuaJIT(https://luajit.org)
YARV bytecode (RubyVM) https://www.atdot.net/yarv
RiteVM bytecode (mRubyVM)
BEAM bytecode (Erlang VM) https://beamcommunity.github.io
ZendVM bytecode(PHP)
Hack :HHVM(https://hhvm.com)
X86 Assembly :QEMU(https://qemu.org), Bochs, DOSBox
NIX
AWK
SED
BeanShell https://github.com/beanshell/beanshell
Ada https://www.adaic.org/
Agena https://agena.sourceforge.net/
ALGOL 68 https://en.wikipedia.org/wiki/Algol68
ATS https://www.ats-lang.org/
AutoHotkey https://ahkscript.org/
AutoIt
AWK
Axe
BASIC
BaCon
Applesoft BASIC
Commodore BASIC
BASIC256
Batch File
BBC BASIC
beeswax
Bracmat
Brainfuck
C : GCC(https://gcc.gnu.org) LLVM(llvm.org) TCC(https://bellard.org/tcc) PCC(https://pcc.ludd.ltu.se/) SDCC(https://sdcc.sourceforge.net/) VisualC++ Openwacom(https://openwatcom.org)
C# https://docs.microsoft.com/dotnet/csharp/language-reference : .NET, Mono(https://mono-project.com)
C++ https://isocpp.org
Clipper https://www.grafxsoft.com/clipper.htm
Clojure https://clojure.org
COBOL
CoffeeScript https://coffeescript.org
Common Lisp
Creative Basic
D https://dlang.org
Déjà Vu
Delphi https://www.delphi.com
DWScript
Dylan.NET https://dylandotnet.codeplex.com
EchoLisp
Elena
Elixir https://elixir-lang.org
Emacs Lisp https://www.gnu.org/software/emacs/manual/html_node/elisp
Erlang https://www.erlang.org
ERRE
Euphoria
F# https://fsharp.org
Factor
Falcon
Fantom
FOCAL
Forth
Fortran https://en.wikipedia.org/wiki/Fortran : Gfortran(https://gcc.gnu.org/wiki/GFortran)
FreeBASIC
Frink
gecho
GML
Go https://golang.org
Groovy https://www.groovy-lang.org
GUISS
Harbour
Haskell https://www.haskell.org
Icon and Unicon
HolyC
Io
IWBASIC
J
Jack
Java https://www.java.com
JavaScript(ECMAScript) : Rhino, Node, JavaScriptCore, Nitro, JScript, QtScript, SpiderMonkey, TraceMonkey, JägerMonkey, V8, ChakraCore, Chakra, JScript .NET, Nashorn | ActionScript, Caja, asm.js, JScript, JScript .NET, QtScript, TypeScript, WMLScript
jq
Julia https://julialang.org
Kotlin https://kotlinlang.org
Lasso
LFE
Liberty BASIC
Limbo
Logtalk
Lua https://www.lua.org
m4 https://www.gnu.org/software/m4/m4.html
Maple
Mathematica / Wolfram Language
MATLAB / Octave https://mathworks.com/products/matlab https://www.gnu.org/software/octave
mIRC Scripting Language
ML/I
Nemerle
NetRexx
NewLISP
Nim https://nim-lang.org
Oberon-2
Objeck
OCaml https://ocaml.org
Oforth
OOC
Oxygene
Panoramic
PARI/GP
Pascal
PASM (ParrotVM Assembly) https://parrot.org
Perl https://www.perl.org
Perl 6 https://perl6.org
Phix
PHL
PHP https://www.zend.com
PicoLisp
Pict
PL/I
PowerShell https://powershell.org
PureBasic
Python https://python.org | Boo https://boo-lang.org , IPython https://ipython.org
Ra
Racket https://racket-lang.org
REBOL
Red
Retro
REXX
Ring
Ruby https://ruby-lang.org : JRuby(https://jruby.org), Mruby(https://mruby.org), Rubinius(https://rubini.us), IronRuby(https://www.ironruby.net), Cardinal(https://github.com/parrot/cardinal), MagLev(https://ruby.gemstone.com)
Run BASIC
Rust https://rust-lang.org
Salmon
Scala https://scala-lang.org
Scilab
Scheme | PLT Scheme, Chez Scheme https://scheme.com , Petie Scheme
Seed7
SETL
Sidef
Smalltalk
Standard ML
Swift
Tcl
Transact-SQL
TUSCRIPT
TXR
UNIX Shell | Csh, Tcsh, Bash https://www.gnu.org/software/bash , Zsh https://zsh.org , Fish https://fishshell.com, Sh, Elvish https://mirror.tuna.tsinghua.edu.cn/elvish , Dash https://wiki.archlinux.org/index.php/Dash
Ursa
Vim Script
Web 68
Wren
XLISP
XPL0
zkl
ZX Spectrum Basic
MSIL (.NET Core CLR) https://en.wikipedia.org/wiki/Common_Intermediate_Language
Java bytecode < teavm.org(bytecode2js) : HotSpot, KVM, OpenJDK https://openjdk.java.net , Maxine VM, Excelsior JET, JamVM https://jamvm.sourceforge.net , Jikes RVM, IBM J9, Dalvik https://source.android.com/devices/tech/dalvik/index.html , IcedTea, JX. https://en.wikipedia.org/wiki/Java_virtual_machine
MoonScript https://moonscript.org
Lua VM Instructions : Moonshinejs, NekoVM, Lulu, LuaJIT(https://luajit.org)
YARV bytecode (RubyVM) https://www.atdot.net/yarv
RiteVM bytecode (mRubyVM)
BEAM bytecode (Erlang VM) https://beamcommunity.github.io
ZendVM bytecode(PHP)
Hack :HHVM(https://hhvm.com)
X86 Assembly :QEMU(https://qemu.org), Bochs, DOSBox
NIX
AWK
SED
BeanShell https://github.com/beanshell/beanshell
moonshinejs.org
Moonshine - A lightweight Lua VM for the browser
nekovm.org/lua
Lua's VM - NekoVM
lulu.luaforge.net
LuLu : Lua VM on Lua
https://github.com/fperrad/lua
Lua ParrotVM
luajit.org
LuaJIT — a Just-In-Time Compiler for Lua.
Moonshine - A lightweight Lua VM for the browser
nekovm.org/lua
Lua's VM - NekoVM
lulu.luaforge.net
LuLu : Lua VM on Lua
https://github.com/fperrad/lua
Lua ParrotVM
luajit.org
LuaJIT — a Just-In-Time Compiler for Lua.
GitHub
fperrad/lua
Lua on Parrot. Contribute to fperrad/lua development by creating an account on GitHub.