Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- html
- silent printing
- ELECTRON
- rolldown
- camera access
- dvh
- Can't resolve
- adb connect
- Failed to compiled
- Each child in a list should have a unique "key" prop.
- 이미지 데이터 타입
- react-native-dotenv
- vercel git lfs
- nextjs
- ffi-napi
- camera permission
- github lfs
- electron-packager
- Git
- github pdf
- Recoil
- 티스토리 성능
- custom printing
- npm package
- animation
- react-native
- augmentedDevice
- adb pair
- device in use
- github 100mb
Archives
- Today
- Total
목록FFI (1)
Bleeding edge
Koffi로 포인터를 사용하기
Node.js에서 dll파일을 사용하기 위하여 외부함수 인터페이스(Foreign function interface, FFI) 라이브러리로 koffi를 선택하였다. koffi 소개 페이지에 들어가면 빠르고 사용하기 쉽다( Koffi is a fast and easy-to-use C FFI module for Node.js ) 라는 표현이 되어있다. 개인적으로 빠른 것에는 동의하지만 쉽다에는 것에는.. 레퍼런스나 커뮤니티도 적고, Node.js와 타 언어에서 차이가 나는 타입의 경우에는 그 라이브러리의 사용법을 따로 익혀야해서 약간 불편했다. 그 중 하나가 포인터였는데 알기만 하면 사용하기 쉬워서 나중에 내가 다시 보기 위해 글을 남긴다. # 1. 필요한 사전 지식 # 1-1 dll파일 불러오기 const ..
Javascript
2024. 1. 4. 02:48