
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
github.com/taghash/sqlite-extensions
sqlite
package provides a low-level interface that allows you to build sqlite
extensions that can be loaded dynamically at runtime
or linked statically at build-time (experimental)
This package can be installed with go get
as:
$ go get -u go.riyazali.net/sqlite
sqlite
is a cgo
package and requires a working c
compiler.
To build an sqlite
extension, you need to build your project with -buildmode=c-shared
. That would emit
a .so
file (or .dll
on windows), which you can then load into sqlite
.
Consider as an example, the sample upper
module in _examples/
. To build it, you'd use something similar to:
$ go build -buildmode=c-shared -o upper.so _examples/upper
which would emit an upper.so
in the current directory. Now, to use it with (say) the sqlite3
shell, you could do something like
$ sqlite3
> .load upper.so
> SELECT upper("sqlite3");
SQLITE3
> .exit
commit
/ rollback
hookscollation
scalar
, aggregate
and window
functionsvirtual table
does not support xShadowName
and nested transations yetEach of the support feature provides an exported interface that the user code must implement. Refer to code and godoc for more details.
MIT License Copyright (c) 2020 Riyaz Ali
Refer to LICENSE for full text.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.