eve icon indicating copy to clipboard operation
eve copied to clipboard

Replace zedpac C

Open deitch opened this issue 6 years ago • 1 comments

Description

The only reason we use CGO_ENABLED=1 in pillar is because of zedpac. That, in itself, is just a single function that makes other calls. We should replace this with native go code when possible.

@rvs responded:

Actually no -- its not a single function -- it is an entire implementation of the duktape JavaScript engine that we're embedding -- replacing it will be pretty difficult

We should evaluate what we are using JS for, and see if there is an easier way to do it. There may not be, and thus we may need to live with it.

If not, we should pull it out so that it and only it requires CGO_ENABLED, and it doesn't completely affect the build of pillar.

deitch avatar May 13 '19 08:05 deitch

@deitch does the issue make sense?

rouming avatar Feb 06 '23 15:02 rouming