Тёмный

F# for Performance-Critical Code, by Matthew Crews 

JetBrains
Подписаться 201 тыс.
Просмотров 12 тыс.
50% 1

This talk was part of the JetBrains .NET Days Online 2022 conference. Details: pages.jetbrains.com/dotnet-da...
Description: F# is a language that stretches across many boundaries (web, backend, domain modeling, etc.) and paradigms (functional, imperative, procedural, object-based) while being simple, succinct, and performant.
But there's more to it! In this session, we'll see why F# is also my favorite imperative, procedural programming language when it comes to performance.
We'll explore why chose F# as the language for our new Discrete-Rate Simulation engine, and how we achieved a 100x speedup over other simulation engines in our industry. All with just F# and .NET.
Speaker: Matthew Crews, Fast F#
Twitter: / fastfsharp
Original stream: • JetBrains .NET Days On...
#dotnet #fsharp #JBDotNetDays

Наука

Опубликовано:

 

1 ноя 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@havokgames8297
@havokgames8297 9 месяцев назад
I can't imagine seeing something is 10's of millions times too slow and thinking "we can get there"
@WonderfulPlays
@WonderfulPlays Год назад
I agree with Khalid, I was rooting alongside the talk! And what a great one it was, Matthew you really have a talent for presenting!
@FastFSharp
@FastFSharp Год назад
Thank you! That is very kind 😊
@octoplasma2
@octoplasma2 Год назад
This is the talk I needed! Awesome! Thanks Matt!
@FastFSharp
@FastFSharp Год назад
My pleasure! Feel free to reach out if you ever have questions.
@daviidon
@daviidon Год назад
Very inciteful, the last "hack" is both awesome and scary.
@FastFSharp
@FastFSharp Год назад
It is definitely reserved for extreme scenarios 😊
@ARVash
@ARVash Год назад
Awesome talk! I'm really excited about trying to apply these ideas.
@codewithkv
@codewithkv 9 месяцев назад
Great talk! I had no idea you could get that kind of performance out of F#.
@10199able
@10199able Год назад
One of the greatest talks I have ever been
@danielmarbach3235
@danielmarbach3235 Год назад
Super geeky but still very approachable! Well done
@FastFSharp
@FastFSharp Год назад
Thank you! My hope was that it would be approachable.
@HAMYLABS
@HAMYLABS Год назад
Great talk! F# FTW
@mumk
@mumk 9 месяцев назад
absolutely mindblowing, what a phenomenal journey for that sweet 100x performance improve, you are a great engineer, I am inspired, cheers
@rade6063
@rade6063 Год назад
This is such a great talk
@FastFSharp
@FastFSharp Год назад
Thank you for the kind words!
@Madison-mk8ce
@Madison-mk8ce Год назад
love the way you talk about the language. To the point but understandable
@JasonCone
@JasonCone Год назад
Great talk. Thanks!
@F.a797
@F.a797 10 месяцев назад
Such as a good talk
@ABW5662
@ABW5662 Год назад
fantastic talk. thank you
@obilykua
@obilykua Год назад
Great presentation!
@BentRasmussen
@BentRasmussen Год назад
Amazing!
@winstonsmith1977
@winstonsmith1977 Год назад
Great talk! Why there are so few f# jobs out there? Would love to switch from c#.
@warrenhenning8064
@warrenhenning8064 Год назад
AWESOME
@FastFSharp
@FastFSharp Год назад
Glad you liked it!
@domenichelfenstein6584
@domenichelfenstein6584 Год назад
Awesome talk!
@FastFSharp
@FastFSharp Год назад
Thank you!
@DaveYostCom
@DaveYostCom Год назад
Great talk! The chart at 43:59 - could you make this available as log scale? That would make it easier to compare the various changes. The linear y axis misleadingly emphasizes the latest of the fixes, whereas a log y axis may show that other, earlier fixes are more powerful.
@FastFSharp
@FastFSharp Год назад
Doesn't really help me but here you go: drive.google.com/file/d/1lUEdkz4XqvDnJJXFTCtq5cE0WyvK8mB7/view?usp=drivesdk
@DaveYostCom
@DaveYostCom Год назад
@@FastFSharp Thanks! The linear chart does misleadingly emphasize the latest of the fixes, whereas the log chart clearly shows that the most important fix was the first one, to use mutable. (I would set the lower end of the y axis to 10,000 to make it easier to see the relative benefits of each fix.)
@FastFSharp
@FastFSharp Год назад
@@DaveYostCom Glad you found it useful 😊
@DaveYostCom
@DaveYostCom Год назад
What happened to the logarithmic plot? Didn’t you post it here?
@ks1970in
@ks1970in 6 месяцев назад
just wondering, can it be faster still ?
@nalcij
@nalcij 5 месяцев назад
It runs off dotnet, It’s not blazingly fast but it's not slow either. Think of it like C#.
@L0wPressure
@L0wPressure Год назад
My man, it's all awesome, and you are doing a great job but i really don't see any benefits in using F# if you go down to such optimizations in the end. Why not use Rust instead?
@zombie_pigdragon
@zombie_pigdragon 8 месяцев назад
Because, as said in the beginning (1:42), this is a dotnet shop. Training developers in a new language/ecosystem is prohibitively expensive. That said, at this kind of speed, moving the optimized algorithms/data structures to Rust/C++ would be a possible next step for going even faster by enabling the addition of even more micro-optimisations in the hot code, if the speed that the F# reaches was somehow still not fast enough.
@L0wPressure
@L0wPressure 8 месяцев назад
@@zombie_pigdragon it’s not about the goals of a workshop, but rather the goals of the developer. As far as I remember he wrote it for his work project, not for the workshop, and what I ask is - why this exact language? It’s seems like it was not made for this exact job. That’s all, otherwise great video.
@zombie_pigdragon
@zombie_pigdragon 8 месяцев назад
@@L0wPressure Sorry, I used "shop" to refer to his place of work. The place that he works uses dotnet exclusively. I do agree though that F# isn't made for hyper-optimized code, but the talk is demonstrating the exact opposite.
@L0wPressure
@L0wPressure 8 месяцев назад
@@zombie_pigdragon got it, so i misread you initially.
@aguluman
@aguluman Год назад
Indeed, we need suffering and pain to live a meaningful life. #bigthink. This must have been difficult.
Далее
What's New in F# 6 0  - Don Syme - NDC Oslo 2021
59:10
The State of F# (2023)
20:10
Просмотров 8 тыс.
What the Heck Are Monads?!
21:08
Просмотров 70 тыс.
The Business of the F# Programming Language with Don Syme
1:02:17
Why F# Works in the Enterprise
58:12
Просмотров 4,4 тыс.
Fast F#: Abstraction Addiction
29:00
Просмотров 1,4 тыс.
F# Code I Love - Don Syme
56:59
Просмотров 20 тыс.