Slashdot Mirror


User: Kouzdra

Kouzdra's activity in the archive.

Stories
0
Comments
4
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 4

  1. Re:Um, it's online on Java Faster Than C++? · · Score: 1
    All tests from this benchmark has been designed for working with arrays of Java primitive types. On such tests JVM optimizer does very good job. But Java is really terrible language, if you need to optimize data representation.

    Java performance vs C++ (preferrably with Boehm GC) looks very bad in working with large complex data structures. Probably even on standard sets C++ will be better than Java. If data representation was tuned for speific application needs, gap between C++ and C++ should increase.

  2. Re:Good book, but won't get you up and running on Learning Functional Programming through Multimedia · · Score: 1

    There is interesting connection exists beetwen monads, comprehension syntax and databases & SQL. For example, see the:

    "Comprehension Syntax"
    http://sdmc.lit.org.sg:8080/~limsoon/psZ/ blstwsigm odrecord94.ps.gz

    and more papers about Kleisli DBMS - for example:
    http://sdmc.lit.org.sg:8080/~limsoon/psZ /bntwtcs95 .pdf.gz

    on http://sdmc.lit.org.sg:8080/~limsoon/limsoonpapers .html

    PS: Comprehension syntax is syntax like the:

    [ a*b | a - list1, b - list2]

    Comprehesions have a close correspondence with monads. In Haskell (before Haskell-98) comprehension actually was the syntax sugar for monadic operators -

    do
    a - list1
    b - list2
    return a*b

    is monadic equivalent of the previous expression (it's really works and does the same thing - Haskell lists are Monad's) and is very natural and flexible syntax for database queries (expamples can be found in "Comprehenstion syntax" paper). Underlying semantic also interesting.

    This is because other, may be even more interesting, property of Monads: Monad is the formalisation of "collection" abstraction. List (threated as Monad) can be viewed as set of states of nondeterministic "world" with many "parallel" and forking "thread's of execution".

    In another interesting paper about monads application "Monadic parser combinators" (see on http://www.cs.nott.ac.uk/~gmh/bib.html, this page also contains many other functional stuff), monads are used in this way for backtracking implementation in parser.

  3. Re:That doesn't matter to Slashdot on New Zealand Shows Music Piracy Boosts Sales · · Score: 1

    In theory, posthumous copyright can provide to author some payment before his death: He can sell his posthumouse rights. For example, Tolkien got some payment for his rights for filming of the LotR.

  4. Re:The P2P Wishlist (tm) and why WASTE isn't It (t on AOL Pulls Nullsoft's WASTE · · Score: 1

    One important point have been forgotten: should have a reliable search facility