Do you think it is a good idea to...

  • china-richway2
    30th Nov 2013 Member 0 Permalink

    To rewrite TPT in those languages:

    Ruby

    Python

    lua

    and so on

  • xetalim
    30th Nov 2013 Member 0 Permalink

    @china-richway2 (View Post)

    No.

    C++ is fine as it is.

  • therocketeer
    30th Nov 2013 Member 0 Permalink
  • boxmein
    30th Nov 2013 Former Staff 0 Permalink
    Why bother? It's not a library with which one should have coverage over a lot of programming languages...
  • MasterMind555
    30th Nov 2013 Member 1 Permalink

    @china-richway2 (View Post)

     What would be the benefit of doing so? I guess you're thinking that it would be easier to mod in one of those languages because you're more familiar with it, but it's not really worth it. It takes a lot of time and effort to rewrite something as big as TPT. Another thing to note is that TPT written in those languages would run much slower than in C++.

  • MiningMarsh
    30th Nov 2013 Member 0 Permalink

    The only language port I see a use for is like some others suggested, something that runs in the browser, but can still run at near native speeds. Probably javascript.

  • Sylvi
    30th Nov 2013 Moderator 1 Permalink

    I would rather keep it in C++

     

    A commonly used, but tasteful language. Even though I don't code in it often, it lookes way better and works better than most languages. Not to mention most are derived from C and C++.

  • techno156
    30th Nov 2013 Member 0 Permalink

    First of all, why should TPT be rewritten? :P It seems to run quite well as-is.

  • FeynmanLogomaker
    3rd Dec 2013 Member 0 Permalink

    Maybe to add new features unavailable in c++? I wrote a really simple particle simulator like TPT in LuaGL, it isn't as good yet (and probably never will be), but with an extremely reduced set of elements, I got it to work in a 200x200 3D box. With current TPT, you just can't do that (although it would make more sense to port it to a better language than Lua).

  • mniip
    3rd Dec 2013 Developer 0 Permalink
    @MiningMarsh (View Post)
    yeah, v8-jitted javascript could power it i thing
    so could luajit