User loginNavigation |
LtU ForumPL for interactive simulation
Seasonal greetings to everybody, I am back from my vacation, and have a new urge to program and probably learn some new language in the process :-)
I am looking for a PL for programming an interactive simulation - not really a game, but a simple world with moving agents which can be influenced by the user (ask your children about hatching norns to get an idea :-) ). The PL should probably actively support concurrency, pickling/unpickling, have good libraries for graphics/mouse/sound, and be reasonably fashionable. I am currently hesitating between Erlang and Alice, any ideas? Thanks! Non-English-Based Programming LanguagesThe recent discussion of the Chinese natural language included some speculation about what CS would look like had it not been dominated by English discourse. The critique was raised that one could postulate any number of alternate histories. However, we can do better than pure speculation by looking at natural-language-inspired Programming Languages developed in non-english-based cultures. To date I have only come acrosss a few such references to Japanse-based experiments in End User friendly programming tools. Unfortunately, they refered to non-english papers that weren't accessible to anyone unable to cross the natural language barrier. This work was of particular interest because it went beyond the mere transliteration of keywords in Western programming languages. But alas, the references I encountered were little more than second-hand existence proofs of work we should know more about. If anyone is familar with such efforts, any information and observations you could share would be most deeply appreciated. Peter J. Wasilko, Esq. Executive Director & Chief Technology Officer The Institute for End User Computing, Inc. These comments are not official IEUC positions unless otherwise noted. ANN: YARD ParserI just posted to SourceForge.net the YARD parser which is a public-domain generic recursive-descent parser for C++ which is available for dwonload at SourceForge.net, documentation is also available at http://yard-parser.sf.net. The YARD parser is intended primarily to be used as lexical analyzer and syntax parser, but it is a very general purpose library. The release includes a partial XML grammar and parser. The YARD parser is intended as a simpler alternative to the boost::spirit library. Any questions or comments are welcome. ANN: Harmonia-Mode Program Analysis Plug-in for XEmacsProfessor Susan L. Graham and the members of the Harmonia Research This second release of Harmonia improves our previous support for Java, This release represents the second publicly available demonstration of If you are interested in trying it out, please go to Please report any feedback you have to the Harmonia group at Thanks! -- The Harmonia Research Group By HeikoWengler at 2004-12-23 17:50 | LtU Forum | login or register to post comments | other blogs | 6190 reads
reading SICP for fun and profitAdrian Colyer, the lead of the AspectJ project, discusses the beauty of Lisp and SICP in his latest blog post. So at the end of the day, this is the thing that really impresses me about Lisp (and about the approach to teaching programming taken in the book). The language is so simple, and yet constructed in such an elegant way that it just doesn't get in your way - whatever abstraction you need to build, Lisp lets you do it in a very direct manner. Java just feels plain clunky when you put it alongside :- lacking in power, ease of expression, and beauty. Modelica: Modeling of Complex Physical Systems
I stumbled upon this site a couple of days ago. It look pretty interesting, the overview offers a good introduction to its features. HM-style type inference with non-unique selectors?
I figure this is the best place to squeeze my question in, so here goes.
A selector is either data constructor or a record field. In HM-style languages those are largely required to have unique names across entire program. Is there any way to lift this requirement and still have (partial) type inference? The hypothesis here is that unresolvable name clashes should be rare. When they do occur, the programmer should give an explicit type annotation. Consider this: data D1 = Foo Int | Bar Double data D2 = Foo | Baz -- name clash, but not fatal yet f1 (Foo x) = x f1 (Bar y) = round y f2 Foo = "Foo" f2 Baz = "Baz" -- The inference algorithm should be able to figure out the type for f1 and f2 -- f1 :: D1 -> Int -- f2 :: D2 -> [Char] f3 (Foo x) = x f3 _ = 42 f4 Foo = "Foo" f4 _ = "Error" -- Still should be possible to figure out types for f3 and f4, because -- Foo in D1 and Foo in D2 have different arities -- f3 :: D1 -> Int -- f4 :: D2 -> [Char] f5 = Foo -- ambiguity: Int->D1 or D2? -- the compiler should signal an errorIs there an inference algorithm that does just that? If such questions are inappropriate for this forum, please feel free to delete my account and ban my IP :) The Memory Pool System: Thirty person-years of memory management development goes Open Source
Not strictly language related, more language implementation related, but worth bringing to the attention of LtU. Quoting from the abstract to this paper:
The Memory Pool System (MPS) is a very general, adaptable, flexible, reliable, and efficient memory management system. It permits the flexible combination of memory management techniques, supporting manual and automatic memory management, in-line allocation, finalization, weakness, and multiple simultaneous co-operating incremental generational garbage collections. It also includes a library of memory pool classes implementing specialized memory management policies. (emphases mine) Good news for language implementors! Richard Brooksby gave a talk on the system at last night's SchemeUK meeting, and it sounds like it has a few killer features that would make it worth considering over a roll-your-own solution or an embedding of, say, the Boehm-Demers-Weiser collector. (One interesting nugget of information he mentioned was that during development of the MLWorks compiler and system, before they started development of the MPS, they measured the cost of object allocation at two-and-a-half instructions per allocation, on average - two instructions for the allocation, and half an instruction for the garbage collection overhead! I don't think MPS is quite that efficient, but it certainly has a lot of potential.) Algebraic SemioticsSeeing an interest to linguistics in general, this might be not a complete off-topic for LtU:
...if you are still not interested, how about this:
[on edit: oh no, I forgot to check previous art... :( Frank already linked to this page in the past...] By Andris Birkmanis at 2004-12-13 15:52 | LtU Forum | login or register to post comments | other blogs | 7378 reads
LLVM 1.4 Released
LLVM 1.4 is now out in the wild. This release adds a large number of new features including JIT support for PowerPC machines, improved debugging information with the C/C++ front-end, better optimizers, new archive support, and a new compiler driver.
-Chris |
Browse archives
Active forum topics |
Recent comments
1 day 23 hours ago
2 days 20 hours ago
4 days 1 hour ago
4 days 1 hour ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
4 weeks 2 days ago
5 weeks 1 day ago
5 weeks 1 day ago