[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is there actually a language out there that is as fast as python

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 43
Thread images: 3

File: ?????.jpg (100KB, 500x500px) Image search: [Google]
?????.jpg
100KB, 500x500px
Is there actually a language out there that is as fast as python to write but performs close to c?

Ideally without any manual memory management.
>>
No C is faster because it is weakly typed.
>>
>>61301042
No.

>>61301073
That's not why C is fast.
>>
>>61301042
I'm sure the speed purists will tell me I'm wrong but look into c#. The programs I build take a while to load but operate fast once running so it may not be appropriate. What are you trying to program?
>>
Use LUA with lua-jit. It's pretty fast, and at least a few times faster than Python.
But it will never become as potentially "performant" as C, since C gives you a shitload of control, with which you can optimize for things like cache access and such.

>>61301084
>That's not why C is fast.
Actually it can help though if you know what you are doing.
>>
File: 16427455.jpg (62KB, 960x864px) Image search: [Google]
16427455.jpg
62KB, 960x864px
>>61301042
If you are a fan of python I suggest you have a look at this:
https://nim-lang.org/
>>
>>61301042
I would say rust, but I never used that.
>>
>>61301164
Lua is a crippled piile of garbage, and anyone who claims is otherwise is joking and it's not even funny.
>>
File: 1490213164540.png (216KB, 1712x944px) Image search: [Google]
1490213164540.png
216KB, 1712x944px
>>61301102
C# is slower than Java. Take your microsoft sponsored brainwashing to sevenforums
>>
>>61301042

x86
>>
>>61301179
why?
>>
>>61301187
>fortran slower than tons of stuff
what
>>
>>61301042
Crystal.
>>
Go?
>>
>>61301323
Fortran is only faster if you use the same algorithm in the benchmark. The fortran benchmark likely does things in the worst possible ways
>>
>>61301102
Working on a backend application for a website. Sick of python's performance and the run - crash cycle.
>>
>>61301042
Java
>>
>>61301042
Julia is pretty decent
https://julialang.org/
>>
>>61301187
What am I supposed to look at here? The bottom? The bottom of the rectangle? The top of the rectangle? The line inside it? The topmost line?
>>
>>61301508
You should be looking at 5th grade maths book instead
>>
>>61301530
Nobody teaches this shit in math fucktard.
>>
>>61301569
>American education
>>
>>61301508
Learn statistics, you will likely see diagrams like this many more times. The boxes and lines represent quartiles. It's not very difficult https://en.m.wikipedia.org/wiki/Box_plot there are khanacademy.com videos showing how it's done
>>
>>61301569

It's taught in British GCSE. Year 10 if i recall correctly.
>>
>>61301569
> Thinks he is a tech pro
> Can't do elementary statistics
kys faggot
>>
I moved from Python to Go, it's a little more verbose than Python but I still prefer it.
>>
>>61301700
look at nim
>>
>>61301500
is the startup time still shit (1-2 seconds) ?
>>
>>61301715
Looks neat, wonder how it is in practice.
>>
>>61301042
You are describing Julia, except Julia is often faster than C at numerics.
>>
>>61301042
unfortunately Go
>>
>>61301633
>>61301654
>5th grade math
>statistics
XD
>>
>>61301831
Who said anything about numerics?
>>
>>61301042
chicken scheme
>>
>>61301187
.net core, the new alpha version of .net that runs cross platform? Please use a more realistic comparison you mongoloid.
>>
>>61301494
have you tried looking into jython?
>>
>>61301987
no one had to say anything about it!
OP asked about a language as easy as python and as fast as C. I pointed out that while Julia is as easy as python and most of the time as fast as C, Julia fails to completely meet the requirements because it's actually some times faster than C in some cases (which I qualified by saying that those cases are often about numerics).

with a bit of effort, even you can learn english, dumb friend!
>>
>>61302557
Your English is poor btw.
>>
>>61301494
Try Go
>>
>>61301643
Box plots are on most specs yeah
>>
>>61301755
I haven't used it for quite a few versions so I can't really say if they've improved that area, I did notice that once it eventually got running it was a noticeable improvement over the speed of equivalent python code. Saved a decent amount of time doing Euler type problems
>>
>>61301164
"Performant" is not a word.
>>
>>61301042
>performs close to c?
>Ideally without any manual memory management.
No.
Thread posts: 43
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.