패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.19.6

native_toolchain_c

호스트 머신에 설치된 네이티브 C 컴파일러를 호출하기 위한 라이브러리입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
447만
좋아요
27
Pub 점수
150

패키지 설치

flutter pub add native_toolchain_c

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

호스트 머신에 설치된 네이티브 C 컴파일러를 호출할 수 있게 해주는 플러터/다트 패키지입니다. 다트와 시스템 레벨의 C 툴체인 사이의 다리를 제공하여, 개발자가 다트 애플리케이션에서 직접 C 코드를 컴파일할 수 있도록 합니다. 성능 중심 작업이나 기존 C 라이브러리를 플러터 프로젝트에 통합하는 데 특히 유용합니다. 이 패키지는 안드로이드, iOS, 맥OS, 윈도우, 리눅스 등 여러 플랫폼을 지원하며 크로스플랫폼 호환성을 보장합니다. 낮은 수준의 시스템 통합을 위한 Dart Native 생태계의 일부입니다.

사용 사례

  • 런타임에 C 코드 컴파일하기
  • 레거시 C 라이브러리 통합
  • 성능 중심 계산
  • 크로스 플랫폼 네이티브 빌드
  • 시스템 수준 개발

주요 기능

  • 네이티브 C 컴파일러에 대한 직접 액세스
  • 크로스 플랫폼 지원
  • Dart와의 원활한 통합
  • Android, iOS, macOS, Windows, Linux를 지원합니다
  • Dart Native 생태계의 일부

적합한 대상

  • C 라이브러리를 사용하는 개발자
  • 고성능 네이티브 코드가 필요한 프로젝트
  • 크로스 플랫폼 네이티브 툴링
  • 고급 플러터 통합
  • 시스템 수준 애플리케이션 개발

고려 사항

  • 호스트에 C 컴파일러가 설치되어 있어야 합니다
  • 플랫폼별 컴파일 동작
  • 원본 도구 체인을 갖춘 시스템에 한정
  • CI/CD를 위해 추가 설정이 필요할 수 있습니다
  • 간단한 앱 로직에 적합하지 않습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Coverage Status

Overview

This repository is home to Dart packages related to FFI and native assets building and bundling.

Documentation

See the doc directory for more documentation.

Packages

Package Description Issues Version
code_assets This package contains the Dart API for code assets in hook/build.dart and hook/link.dart. issues pub package
data_assets This package contains the Dart API for data assets in hook/build.dart and hook/link.dart. issues pub package
ffi Utilities for working with Foreign Function Interface (FFI) code. issues pub package
ffigen Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. issues pub package
hooks This package contains the API for hook/build.dart and hook/link.dart. issues pub package
hooks_runner This package is the backend that invokes hook/build.dart and hook/link.dart from Dart and Flutter. issues pub package
jni A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen. issues pub package
jni_flutter A library to access Flutter Android specific APIs from Dart. issues pub package
jni_util A library to access Flutter Android specific APIs from Dart. issues pub package
jnigen A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. issues pub package
native_toolchain_c A library to invoke the native C compiler installed on the host machine. issues pub package
objective_c A library to access Objective C from Flutter that acts as a support library for package:ffigen. issues pub package
record_use Dart API to access @RecordUse() recorded usages in link hooks. issues pub package
swift2objc A tool for generating bindings that allow interop between Dart and Swift code. issues pub package
swiftgen A tool for generating bindings that allow interop between Dart and Swift code. issues pub package

External packages

Packages not on this repo but also related to FFI and native assets. ❤️

Package Description Version
native_toolchain_cmake A library to invoke CMake for Dart Native Assets. pub package
native_toolchain_go A library to invoke the native Go compiler installed on the host machine. pub package
native_toolchain_ninja A library to invoke Ninja for Dart Native Assets. pub package
native_toolchain_rust A library to build and bundle Rust code for Dart Native Assets. pub package
native_toolchain_zig A library to build and bundle Zig code for Dart Native Assets. pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

카테고리

의존성

의존성 목록 8 개

소스 저장소

이 패키지를 사용하는 프로젝트