Deno.serve API #613
Answered
by
kitsonk
rossholdway
asked this question in
Q&A
Deno.serve API
#613
|
Hi, Is Oak making use of the performance improvements of Deno.serve now that it is stable, and if not, are there plans to move to using the new Deno.serve API? https://deno.com/blog/v1.35#denoserve-is-now-stable Thanks, |
Answered by
kitsonk
Jul 17, 2023
Replies: 1 comment
|
I am pretty certain the performance improvements were to the stack as a whole and Because of the way oak handles requests, the lower level API is still most appropriate. Therefore for users of oak, there is nothing to due but upgrade the version on Deno they are using. |
0 replies
Answer selected by
rossholdway
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am pretty certain the performance improvements were to the stack as a whole and
Deno.serve()is effectively syntactic sugar for the lower level stack. When it was originally introduced as unstable,Deno.serve()used a seperate HTTP stack, flash, which now has been integrated into the main.Because of the way oak handles requests, the lower level API is still most appropriate. Therefore for users of oak, there is nothing to due but upgrade the version on Deno they are using.