Questions tagged [flowlang]

Flow is a programming language design that solves the multicore dilemma through ubiquitous, guaranteed-safe implicit parallelization

Flow is a new programming language design - in fact an entirely new programming language paradigm - that solves the multicore dilemma through ubiquitous, guaranteed-safe implicit parallelization.

Flow also makes it very hard to shoot yourself in the foot, by eliminating the potential for many sources of common programming errors, including errors that cause null pointer exceptions / segfaults, deadlocks / race conditions, type mismatches / class cast exceptions and more.

Flow's memory management is completely automatic - you never need to malloc()/new or free() anything - and yet this is not accomplished through garbage collection, so there are no unpredictable delays due to GC. Flow allocates memory precisely when it is needed and frees it precisely when the last thing that can refer to a block of memory has finished using it.

3 questions
1
vote
0 answers

Does Flow or TypeScript have a way to use the return type of a function as a separate type

C++ has the decltype keyword that allows getting the return type of a function without evaluating it, and I was wondering if the typed dialects of JS had something similar. I would imagine it working something like this: let foo = () => 'bar' let…
slikts
  • 8,020
  • 1
  • 27
  • 47
0
votes
1 answer

How to get Flow type checker to detect changes in my files?

So Flow only works correctly the first time I run it, and then I have to restart my computer before it'll work correctly again. Specifically, the problem I'm seeing is that we are using the Flow language to add type annotations to our JS code. Our…
Steven Byks
  • 125
  • 5
0
votes
1 answer

Client API for FoundationDB

I was checking web site of the FoundationDB. It says that it was developed on new programming language Flow. In websites it says : Flow is a new programming language design -- in fact an entirely new programming language paradigm -- that solves…
Incognito
  • 16,567
  • 9
  • 52
  • 74