<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tedd707</author_name>
  <author_url>https://blog.hatena.ne.jp/tedd707/</author_url>
  <blog_title>ITエンジニアが仕事に対して思うこと</blog_title>
  <blog_url>https://pythonjp.ikitai.net/</blog_url>
  <categories>
  </categories>
  <description>**** こんにちは、プログラミング仲間の皆さん。今回は、C言語とJavaScriptを連携させ、ネイティブな計算力とWebの柔軟性を組み合わせる方法について詳しくお伝えします。C言語の高いパフォーマンスとJavaScriptのWebアプリケーションへの組み込みが、プログラミングの可能性を広げます。 1. C言語の関数をJavaScriptから呼び出す まず最初に、C言語で書かれた関数をJavaScriptから呼び出す例を見てみましょう。この方法では、Node.jsとffi-napiモジュールを使用してC言語の関数を呼び出します。 C言語のコード (example.c) #include &lt;s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpythonjp.ikitai.net%2Fentry%2F2024%2F01%2F31%2F060000&quot; title=&quot;C言語とJavaScriptの連携: ネイティブな計算力とWebの柔軟性を組み合わせる - ITエンジニアが仕事に対して思うこと&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-31 06:00:00</published>
  <title>C言語とJavaScriptの連携: ネイティブな計算力とWebの柔軟性を組み合わせる</title>
  <type>rich</type>
  <url>https://pythonjp.ikitai.net/entry/2024/01/31/060000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
