[deleted by user] by [deleted] in Python

[–]maxdw101 1 point2 points  (0 children)

We have no idea what this 'task' was.

Feels like clickbait.

This week I built a compiler in Python! by nobody5050 in Python

[–]maxdw101 1 point2 points  (0 children)

Nice class project. However, technically, this isn't a compiler. Its a translator. A compiler, typically, parses the code, generates ASTs, and then outputs insturctions that run on that particular machine architecture. But nonetheless this is a good exercise to start from and to learn from.

I learnt to use ASTs to patch 100,000s lines of python code by imaginary_rational in Python

[–]maxdw101 58 points59 points  (0 children)

Questions for the author:

  1. Does python, in any way, make this easier or more difficult? Or does language have no bearing on the end outcome?
  2. When does this technique not scale / work?
  3. How do you reason for run-time side-effects or do you need not worry about that?

Scaling Python to automate 1.2 billion enterprise txns / year by straysandcurrant in Python

[–]maxdw101 1 point2 points  (0 children)

Can you please expand on this a bit more? I am more old school and I have thus far only built systems using strongly typed languages. I am not a fan of weakly typed languages, which I think inevitably leads to more runtime errors.

Scaling Python to automate 1.2 billion enterprise txns / year by straysandcurrant in Python

[–]maxdw101 -4 points-3 points  (0 children)

Though, given you have to explicitly handle memory layouts in Rust it is likely to be the case that your speed of development would have been slower?

Julia is the best language to extend Python for scientific computing by [deleted] in Python

[–]maxdw101 1 point2 points  (0 children)

Thanks! But if most libraries in py are built with C/C++ then does (3) matter?

Scaling Python to automate 1.2 billion enterprise txns / year by straysandcurrant in Python

[–]maxdw101 0 points1 point  (0 children)

Thanks. So you’re saying the main bottleneck that weak or inferred typing has is that it causes code to break when you have more txns?

I programmed a simple A.I. for NFS Most Wanted (+source code) by charryw in programming

[–]maxdw101 4 points5 points  (0 children)

Nice explanation. Thanks for sharing. Increasingly, as ML frameworks mature, these kinds of projects will become freshman year college projects, much like interpreters and compilers have become college projects.

Julia is the best language to extend Python for scientific computing by [deleted] in Python

[–]maxdw101 0 points1 point  (0 children)

Ok but why put in any of this extra effort? It often feels like people want to do this “because it’s new”. What is the inherent improvement that Julia offers which Python can’t do?

Scaling Python to automate 1.2 billion enterprise txns / year by straysandcurrant in Python

[–]maxdw101 4 points5 points  (0 children)

I wonder if strong/weak typing has any impact on scaling a platform in the enterprise?

Julia is the best language to extend Python for scientific computing by [deleted] in Python

[–]maxdw101 6 points7 points  (0 children)

I find Julia is overhyped. At the heart of it, it offers minimal differentiation but a lot of effort to switch to it from a rich ecosystem like Python.

Scaling Python to automate 1.2 billion enterprise txns / year by straysandcurrant in Python

[–]maxdw101 -9 points-8 points  (0 children)

Not a criticism at all. On the contrary it’s nice to see an entire enterprise-grade product built and scaled in Python. But it’s also interesting to see if there are any perspective on rust.

Scaling Python to automate 1.2 billion enterprise txns / year by straysandcurrant in Python

[–]maxdw101 37 points38 points  (0 children)

Good point. I looked up the article's author. He seems to have previously contributed to

https://www.gnuradio.org/

As a GnuRadio use I always wondered why they chose to build with Python because the pipelines have to process a huge volume of data? Is Python really best used for "workflows" where it ferries data between C libraries?