开发者

System side programming - Which language?

I have few questions over System side programming.

  1. Can Python be used for both Web and System like perl.
  2. Which language would you prefer me. I have a little knowledge on JavaScript and Java.
  3. If i want to develop a compiler what should i know and where should i st开发者_开发知识库art.


  1. Yes.

  2. Use a language that the people around you use.

  3. You should know about lexing, parsing, symbol tables, abstract syntax trees, optimisation, intermediate languages, stack-based and register-based architectures, code generation, object file formats, linkers, loaders, etc. There are many resources available in other questions about building compilers here on Stack Overflow.


Well I'd definitely go with Python. It's an excellent language for just about everything, especially suitable for web/system development. Learning Python was the best thing I ever did. I used Java/PHP for a few years and I never look back. I reached a higher level of competency, faster with Python than any other language I've tried to learn.

As far as developing compilers go, you'll be in good company with the PyPy folks, so that's all the more reason to learn the language. PyPy is both a fast Python interpreter implementation (with JIT) and an advanced compiler/framework for implementing dynamic languages.


sure BASH and one full featured scripting language. I prefer Perl, but it is up to you.

for the 3.) You should study bison or yacc, lex, and/or any other grammar-parsers (compiler-compilers).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜