I use Ubuntu 15.10 I compiled swift-corelibs-libdispatch , we get the file libdispatch.so But still, if I use "import send", I get the error "there is no such module" Send "
How to add this module to Swift?
One way to achieve this is to install the system module for libdispatch and use swift build . See https://github.com/apple/swift-package-manager/blob/13d682a63ea01246dd119cd4cf5c8d90c030566d/Documentation/SystemModules.md on how to use system modules. This question, Importing a Swift module using the C library , may also come in handy.
libdispatch
swift build
I am sure there are other ways. You should be able to use a swift interpreter or a fast compiler ( swiftc ), but I can't figure out how to do it from my head.
swiftc
Source: https://habr.com/ru/post/1239695/More articles:How does using smaller values ββhelp prevent over-compaction? - machine-learningTensor flow: list of tensors by value - pythonCassandra 3.0 updated SSTable format - cassandraMySQL - how to count rows before pagination? - javaUnable to find Python executable "/path/to/executable/python2.7", you can set env variable PYTHON - node.jsConditional Filter - angularjsPorting to numpy api 1.7 - c ++How can I asynchronously load data from large files into Qt? - c ++How can I respond to someone to comment on the transfer request on Github? - githubMinibus size selection for deep learning - performanceAll Articles