[Seed7-users] Greetings, new in the list
Interpreter and compiler for the Seed7 programming language.
Brought to you by:
thomas_mertes
From: FRD <fer...@gm...> - 2016-05-20 10:38:32
|
Hi, I'm new in the user's list. I've discovered Seed7 by accident browsing Rosetta Code's site. Now I'm doing small programs to understand the language. TL;DR My initial contact with the language is very positive. I like the syntax, very clear and regular, that makes programs very easy to read, but not as heavy to write as the Ada language (!). The use or result instead of return and the local block of variables make sense, it makes the code more structured. I like this feature in Eiffel language too. Multimethods are another good move. I'm interested in languages with this feature like Dylan or Common Lisp. Extension mecanism looks great, but I'm not ready yet to use it :). The documentation is good and the examples in prg directory are very interesting. Really impressive work. Congratulations. Now a question: I made a small program with SQLITE database. I notice that the insert time of a thousand records is more slow than I expected. The same program with Tcl doing only one transaction is 0.4s and with one transaction per insertion is 4s, the same time than the s7d program. It is possible to make a transaction with all the records together in Seed7? Is autocommit in SQLITE on? I didn't see nothing in the sql_base API to change it. my code is like db := open database prepare(statement) for record range records bind(parameters) execute(statement) end for commit(db) Kind regards, |