Closed todor2810 closed 1 year ago
I think this is due to a recently updated ssl module (the ssl lib is now embedded).
I'll update the numbers today, thanks.
Thank you for the clarification :).
I think this is due to a recently updated ssl module (the ssl lib is now embedded).
I'll update the numbers today, thanks.
@medvednikov Only question: the lib ssl is embeded default? I'm asking therefore in golang I was comfortable with function import work like that what I do not use (from package) it was deleted from compilation and more from main was deleted unused function, I'm not sure that I was clarify enought, therefore example:
package mymodule
func first(){
...
}
func second(){
...
}
....
when I import:
package main
import mymodule
func main(){
mymodule.second()
}
func third(){
....
}
Here it woud be compile only second, but first and third would not be in binary I thought that is working in vlang too, isn't it?
Fixed.
@MatejMagat305
the lib ssl is embeded default?
only when importing net or http or vweb modules
On this page:
https://vlang.io/compare#go
One of the listed differences between V and Go is:
However when I try to reproduce this I get a 700 KB binary. Steps I made:
v -prod http_server.v
System info:
Would it be a good idea to remove the concrete numbers and just leave "Much smaller binaries" so that users won't think they are mislead?