Search:

Type: Posts; User: Leuchten; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.12 seconds.

  1. Re: Simplest Java editor (for compiling/running Java programs)

    For a simple editor, I'd say vi, kedit, or kate.

    For complex, I'm really surprised very few people in this thread have mentioned intellij. There is an opensource version of it, it's leaps and...
  2. Replies
    14
    Views
    8,154

    Re: Java Performance Windows 7 vs. Linux

    Well, not exactly. A java program will always start off as completely interpreted, and as functions cross their call threshold they become jitted into native code. If they are used particularly...
  3. Replies
    14
    Views
    8,154

    Re: Java Performance Windows 7 vs. Linux

    Going solely based on the benchmarks game, java is about the fastest language you can find on linux that isn't natively compiled, and it beats a good few that are. I wouldn't worry about java...
  4. Thread: FP languages

    by Leuchten
    Replies
    11
    Views
    799

    Re: FP languages

    I would also recommend Haskell if you want to force yourself to program purely functionally. However, if you want a less steep intro, I'd recommend Scala (like always). As far as functional...
  5. Re: How to send bytes to USB devices using Java?

    If you need bindings to C libraries, you can use JNA to write them in java. There is also a project called JNAErator that will generate the java code bindings for a library you point it at.
    ...
  6. Replies
    13
    Views
    1,244

    Re: Programming languages

    Intellij is the best Java IDE (though netbeans is ok). Don't use eclipse unless some vile person from HR makes you :D.
  7. Replies
    8
    Views
    4,462

    [SOLVED] Re: JNI with C++ : UnsatisfiedLinkError

    OP, if you're feeling particularly daring, you might try bridj. It's a way to call native libraries like JNA, but it is compatible with C++. The difference between it and JNI is that you write java...
  8. Re: What are general rules for overloading method in java?

    It's definitely useful and can help cut down on bugs.
  9. Replies
    19
    Views
    3,139

    Re: Beginners programming challenge #29

    Since it's been a month since this has been posted and there are no other entries, I'll go ahead and post mine.


    import java.io.{FileWriter, BufferedWriter}
    import scala.io.Source


    object...
  10. Re: java.lang.UnsatisfiedLinkError: no jinput-linux on Ubuntu 12.04LTS

    You can point java at the native lib manually like this: java -Djava.library.path=/usr/lib/jni -jar yourJar.jar. If that doesn't work, I'm at a loss.
  11. Replies
    10
    Views
    1,610

    Re: What is the purpose of lisp

    Common lisp is not used for a ton nowadays, but in the past it was the systems programming language for lisp machines. Clojure seems to be a very good choice if you want to do general application...
  12. Re: Quick java question (imitating python functionality)

    This can be handled with syntatic sugar. All of scala's anonymous functions are defined like:



    trait Function6[-T1,-T2,-T3,-T4,-T5,-T6,+R] extends AnyRef {
    def apply(t1: T1, t2: T2, t3: T3,...
  13. Re: Quick java question (imitating python functionality)

    If the syntactic sugar is good enough, is there any reason to sacrifice backwards compatibility for proper first class functions? For example, in scala I can write




    val fib: Int = (n: Int)...
  14. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    I am legitimately excited about rust. It looks to be fast and it looks to be really flexible for a systems programming language.

    I didn't realize that ocaml had concurrency libraries, very glad to...
  15. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    Ocaml seems pretty nice and I've been wanting to look into it, but I'm currently employed to program in Scala and I wanted to master it before I learned a new language, and the lack of threading is...
  16. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    I don't think it's because you have a background in math, I think it's because you do not have a background in CS to start with.

    When I go back to college, most of what I have left is math classes...
  17. Re: Binary Search Trees and other Data Structures

    I meant insertion as in adding elements to the datastructure. Arrays have all the elements they can have when they are allocated, so inserting a new element requires reallocation and copying....
  18. Re: Why aren't more Linux applications written in Java?

    How would another language fix this? I mean hell is other people's code.

    Anyway, there are plenty of non-java jvm languages, so no need to throw the baby out with the bathwater.
  19. Re: Why aren't more Linux applications written in Java?

    Have to wonder what you think of python, or any language that's not c or c++ then.



    Guess the linux community should stop writing apps in C++ then.
  20. Re: Binary Search Trees and other Data Structures

    AVL and R&B trees are both self-balancing trees, that's why people are recommending them over the bog standard binary tree. If you solve the "when to balance a binary tree" problem, chances are...
  21. Re: Why aren't more Linux applications written in Java?

    As CptPicard said, references in java are pretty much pointers already. They just automatically dereference for you and what they point to is cleaned up when it becomes unaccessable. Everything in...
  22. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    Argumentum ad populum is a fallacy. Don't try to draw conclusions using it.

    Also, I learned logo as a child. I also learned basic. Guess which one made me give up programming for years.
  23. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    I don't think it's a huge problem. A lot of people don't understand for loops when they first start programming, but somehow it all works out. I think the lack of comprehension when it comes to...
  24. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    Functional programming techniques are being adopted by many older languages (c++, java) and show themselves to be incredibly useful for developing sound, well made code. Purely functional programming...
  25. Thread: .NET and Mono

    by Leuchten
    Replies
    4
    Views
    653

    Re: .NET and Mono

    Both the CLR and the JVM interpret bytecode, and both use a JIT compiler to convert their bytecode into native code. You can read more on JIT here:...
Results 1 to 25 of 56
Page 1 of 3 1 2 3