Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • What happened with the stackless python? Did they get rid of all the stackless stuff?
    by ufo
  • by ris
  • If I were Fenris Creations, I would make a copy of Allegiance

    https://en.wikipedia.org/wiki/Allegiance_%28video_game%29

  • > The classic example is division: in Python 2, 1 / 2 is 0; while in Python 3 it is 0.5.

    Can someone kindly explain this?

    edit: I misread it as “In Python 2 2.1/2 is 0, while in Python 3 it is 0.5”

  • From long ago memory: in Python 2, 1 / 2 did integer division. You had to do something like 1 / 2.0 if you wanted floating point division.
    by smoe
  • > 50 uses of <>, a way of writing "not equal" so old that many working Python developers have never seen it.

    This hit me. Not sure when this was used and was deprecated.

  • I still think it's superior to '!='.
  • I didn't realise using <> made me old-school, time for a find-and-replace in my PHP codebase!
  • > Some of you may remember upgrading to Stackless Python 2.5 in 2007, then to Stackless Python 2.7 in 2010. That was the last time EVE changed its Python version.

    Yikes. 2010 ... python is built forever.

    But, ignoring this - I think when the "scripting" languages can bridge the speed penalty towards C, even if not reaching it for many reasons, then they become real contenders here.

  • It really speaks to how great the technical team can be. As crazy as it sounds Goldman Sacks and JP Morgan both maintained 2.7 Python as a core language until just a few years ago (yes, it's still used in production).
  • Maybe the bank bailouts were a mistake
  • Or insane
    by 7bit
  • if anything, it only shows just how bad breaking backward compatibility is - py3 was released in '06, 20 years ago
  • I have run into other large (well known) financial companies on 2.x as well. They were using our old unsupported SDK and some long planned and communicated service API change broke them. They could not update to any recent SDK. I did gently point out their python version was 10+ years out of date.
  • 1/2 troll side-galley comment: use AI and translate to Rust.

    If the outcome or outputs / test cases are known, AI is great at language translations.

  • Second this but with Go
  • Ladybird situation is wild...
  • I’ve been doing this on a large system I’m building. Anything that takes longer than an hour to run, processes a high rate of events (maybe >5/s averaged over a day) or has downstream gpu waiting for it.

    Python + tests cross compiled to rust has huge benefits for memory footprint and secondly cpu.

    It’s allowing me to achieve wonders on a small amount of hardware.

  • Not sure if it's worth it. I don't see them complaining about speed and they use specific python dependencies then they would need to translate that to rust also.
  • Stackless python had such potential, it could be extremely useful in Agent era for long running tasks with durable state.

    modern Python went in a somewhat different direction with asyncio, but with tasklet and continuation it could be a much powerful combo.

    by est
  • > modern Python went in a somewhat different direction with asyncio,

    I'll say more, it went the wrong direction. I see async thing in Python as a step backwards. For some reason Guido heard of Twisted and deferreds and somehow got influenced by it, and here we are with "async def" and "await" sprinkled all over the place.

    I mean, we had stackless, eventlet, gevent, we could have started something from that. We even had the example of Erlang and with a much better concurrency pattern. Go went with goroutines and channels and in retrospect made the right choice, not as good as Erlang/Elixir imo but still better than sprinkling async everywhere.

  • Just one of the coolest "we're working on stuff" status updates I've ever seen.

    I haven't played eve online in near 20 years, but this makes me think I might have another go.

  • I rebooted my 2006 character last weekend and have been having a blast
  • I've been thinking about trying it out again. I re-visited it a bit in 2012 and have lately been recommended some youtube videos for catching up on lore and larger changes.

    It was an amazing game back then, my only issue being my inability to not spend all free time in it.

  • > So how do you migrate 2.4 million lines of code?

    > Very carefully, and in multiple stages.

    That answer is so 3 months ago

  • "Claude, migrate the code. Do it fast. Make no mistakes."
    by fy20
  • yeah I'm sure they never considered AI
  • Knowing game codebases, I'm guessing their test coverage was not fantastic. Agents weren't gonna get it done.
  • Can an experienced player gives us a summary of what's the "vibe" of the EVE online community these days? I was lightly involved ~15 years ago.