Git Product home page Git Product logo

Comments (9)

laruence avatar laruence commented on May 31, 2024
  1. 可以啊, 不过没意义....
  2. 是线程安全的

from yac.

gyf19 avatar gyf19 commented on May 31, 2024

我们项目用Php cli 做后台服务

from yac.

gyf19 avatar gyf19 commented on May 31, 2024
  1. c++ 可以访问到yac数据吗?
  2. 如果可以访问的话,c++与php怎样方便序列化?
    谢谢鸟哥

from yac.

laruence avatar laruence commented on May 31, 2024

如果要这么做, 那就要修改yac, 不能采用匿名mmap或者PRIVATE shm, anyway, 我觉得通过接口会好一些, 序列化的话msgpack支持c和php

from yac.

gyf19 avatar gyf19 commented on May 31, 2024

msgpack 可以支持字典, 相互序列化吗? 例: php 序列化 $arr = array("foo" => "bar", "213" => true); =====> c++反序列化

from yac.

laruence avatar laruence commented on May 31, 2024

当然了, 最基本的....

from yac.

gyf19 avatar gyf19 commented on May 31, 2024

c++ 应该如何写呢?找了很久也没有找到例子?php字典 转到c++ 结构还是数组?

from yac.

gyf19 avatar gyf19 commented on May 31, 2024

请鸟哥教一教郁闷很久

from yac.

laruence avatar laruence commented on May 31, 2024

看msgpack官网的c/c++ example

from yac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.