features
-
gas Based on Chinese 。 English speakers usually don't take it for granted that their programming languages are based on their already fluent mother tongue. Native English speakers can reasonably infer the function of Python code by reading keywords ("if", "int", "while", etc.). Making this language based on a foreign language can make programming easier for more people around the world. -
gas Very fast 。 It compiles efficient bytecodes using a single channel compiler, which can run with exceptional accuracy. And various optimizations, such as Nan Boxing Through hash table detection, the speed of gas is equivalent to the dynamic language of competitors. -
gas Is light 。 With less than 5000 lines of code, the whole project can be read in one day. Although the code is short, everything is well formed and easy to understand. The final executable size is only about 140 kb, allowing you to run it on almost any conceivable device. -
gas Is object-oriented 。 Put the class in the front and center, object-oriented Programming provides a clear modular structure through abstract and encapsulation It is much better than functional programming in handling complexity.
Example
System. Print line ("Hello, World")
Interrupt continuation class, switch case default, otherwise function, and return to super true if empty If the variable is equal to or unequal to equal, equal to or equal to equal