Back to Browse

Trying to make C and Rust as fast as PHP

1.4K views
May 18, 2023
25:25

So I wrote my fist C program. It was slower than PHP. What's going on? GitHub: https://github.com/unconv/csvfind 00:00 Intro 01:09 Timing PHP vs C 04:36 Timing PHP vs C vs Rust 05:33 Optimizing the C code 09:34 Trying stristr functions from StackOverflow 11:36 Writing my own stristr function 14:54 Optimizing the function 18:55 Reading the manual and fixing the problem 20:22 What's up with Rust? 24:59 Outro

Download

1 formats

Video Formats

360pmp447.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Trying to make C and Rust as fast as PHP | NatokHD