As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am considering which scheme to use.
I would like to use a scheme that has or can be compiled to have no threading support. I have to avoid the layers that threading libs provide. I want an implementation that has no code for interpreter locks, etc. Something that can compile to C is ideal. This will be Unix only. Chicken and Gambit are my first choice with TinyScheme as an alternative strategy.
I want to use this scheme as the replacement for a ruby app that I have now. This is why it has to be a decent scheme, it has to have rich support for strings, hashes, regex, dictionaries, etc.
Any such beast out there?
You might try Chibi Scheme or Larceny. I don't think that either of them have threading. Chibi runs on a VM, Larceny compiles to native code. I expect that Larceny's support for various libraries will be better.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to code a program that given a paragraph of text (letters and numbers), it formats it in a custom way, totally different from the initial source.
The thing I'm wondering is which programming language to use to make it easier to code.
Right now I know some Lua, VB, C and a little less of Python and Java, but I wouldn't mind using other monogramming languages if its easy enough to code it.
If it is okay for you to use a non-mainstream language, have a look at Unicon. It is a successor of SNOBOL, the grandfather of all string processing languages.
If you prefer a mainstream language, I would recommend Python.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
When is the use of C/C++ more appropriate than the use of very high level programming languages like python?
Countless reasons...
You need to use an essential library that works best in C or C++
You are not interested in learning a new language
You need to access system APIs or resources not available in Python
Your project structure is better suited for the syntax of C or C++
You want to use features of C or C++ that you cannot get in Python, most notably compile-time checks. Or you know, switch statements.
External tool support, for example static analysis is much harder for Python.
Performance
The project is already written in C++ and you don't want to port it
You want to ensure that it can be run on a minimal installation without an interpreter
You need debugging info from the client machine in the form of a debuggable minidump
You just don't like Python
...
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for languages / libraries which allows searching over AST for given language using selectors (ie. "/function(int, int)" to find all functions with given signature or "namespace(name=xxx)/method(name=yyy*)" to find all methods starting with yyy in given namespace).
I know there is always possibility to convert AST to XML and use XPath / XQuery, but i'am looking for something built in or easily integrable with a language.
This is practical :https://live.gnome.org/GObjectIntrospection/
as well as the gcc plugin dehydra : https://developer.mozilla.org/en-US/docs/Dehydra
LLVM has a bunch of projects : http://llvm.org/ProjectsWithLLVM/
This is theoretical: http://www.complang.org/colm/ but could be interesting.
See also this thread, on the topic of using the OWL/Semantic web for querying:
http://lists.w3.org/Archives/Public/semantic-web/2012Aug/0077.html
http://cs.nyu.edu/~lharris/content/programquerylangs.html
My focus when I was playing with things like this originally was specifically Java-oriented, also using the Eclipse AST tools. This isn't language-agnostic, and most of the tools I'm aware of aren't either.
It does, however, include some links to projects (I've only played with two of them, and not for quite some time) that may give you ideas, although it's not clear to me what kind of information you want from an answer. ASTs themselves are tied tightly to implementations.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Apart from C, C++, Delphi, VB, can you put an example of a relatively "modern" COMPILED* programming language* supporting things like OO, collections, GUI libraries?
Please do not mention experimental or academic only languages, I'm looking for something used in the real world, for PCs 80x86, and I don't mind about the OS.
Thanks!
*UPDATED: Compiled to native code.
*DISCLAIMER:
For language understand language implementation.
For compiled to native code understand not interpreted.
Haskell.
Source: http://www.realworldhaskell.org/
Cython. Compiles to native code, is used in high performance computing, both academic and commercial, and is used to implement LXML. GUI libraries include all those available for Python.
Also, Objective-C. That's now one of the most popular programming languages.
Wikipedia has a lot: http://en.wikipedia.org/wiki/Comparison_of_programming_languages
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I was reading through an answer to a question about an IDE for Go that triggered this question.
I was trying to think of a language that 'required' an IDE, but could not come up with one.
Many of the "graphical languages" more or less require an IDE. They aren't particularly popular at the moment, but the general idea is a "language" where you create programs by drawing some sort of diagram. Depending on the intended market, you frequently see something with a flavor or UML or ERD or even flowcharting, depending on the intended market, age of the tool, and level of obfuscation versatility and ease of use the inventor/vendor desires.
While most of these allow you to store the data in some sort of more or less textual format, they consider the diagram (of whatever sort) to be the language, and anything else is only a way of storing/recreating the diagram.
Some types of 4G Languages would probably come up as requiring an IDE (being an IDE themselves).
All Smalltalks I know of except for GNU Smalltalk are very deeply integrated with their development environments.